Browse Source

修改角色返回值

chenshibin 4 years ago
parent
commit
490b534b88
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AdminController/RoleController.py

+ 1 - 1
AdminController/RoleController.py

@@ -56,5 +56,5 @@ class RoleView(View):
                 return response.json(404)
 
     def getList(self, userID, request_dict, response):
-        role_qs =Role.objects.all().values('rid','roleName');
+        role_qs =Role.objects.all().values('rid','roleName','Description');
         return response.json(0, {'list': CommonService.qs_to_list(role_qs)})