Commit ba616b8e authored by lvshibao's avatar lvshibao

获取req信息

parent 2189dcad
...@@ -234,8 +234,8 @@ class TasksApi(viewsets.ViewSet): ...@@ -234,8 +234,8 @@ class TasksApi(viewsets.ViewSet):
data_sort[i]['ratio'] = '{0}%'.format(int(data_sort[i]['ratio'] * 100)) data_sort[i]['ratio'] = '{0}%'.format(int(data_sort[i]['ratio'] * 100))
return Response({'code': 0, 'msg': 'success', 'count': total_count, 'data': data_sort}) return Response({'code': 0, 'msg': 'success', 'count': total_count, 'data': data_sort})
@get_account_info
@action(['post'], detail=False) @action(['post'], detail=False)
@get_account_info
def static(self, req: Request): def static(self, req: Request):
""" """
获取违规项分析 获取违规项分析
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment