Commit 19596415 authored by lvshibao's avatar lvshibao

rules页面修改

parent 0fa5102e
...@@ -482,6 +482,7 @@ class TasksApi(viewsets.ViewSet): ...@@ -482,6 +482,7 @@ class TasksApi(viewsets.ViewSet):
v['call_count'] = call_count v['call_count'] = call_count
data_sort.append(v) data_sort.append(v)
# data_sort = sorted(data_sort, key=lambda x: x['count'], reverse=True) # data_sort = sorted(data_sort, key=lambda x: x['count'], reverse=True)
print('finish')
return Response({'code': 0, 'msg': 'success', 'data': data_sort}) return Response({'code': 0, 'msg': 'success', 'data': data_sort})
@action(['post'], detail=False) @action(['post'], detail=False)
......
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