feat: enstat2增加筛选条件
This commit is contained in:
parent
beb9624548
commit
e907b152f3
|
@ -79,4 +79,4 @@ class EnStat2ViewSet(ListModelMixin, CustomGenericViewSet):
|
|||
perms_map = {'get': '*'}
|
||||
queryset = EnStat2.objects.all()
|
||||
serializer_class = EnStat2Serializer
|
||||
filterset_fields = ['year_s', 'month_s']
|
||||
filterset_fields = ['year_s', 'month_s', 'day_s', 'type']
|
Loading…
Reference in New Issue