chenjunkai 7 жил өмнө
parent
commit
7e2146219a

+ 1 - 0
Controller/UserController.py

@@ -344,6 +344,7 @@ class LoginView(TemplateView):
             res['rid'] = role_dict['rid']
             res['roleName'] = role_dict['roleName']
             res['permList'] = ModelService.own_permission(userID)
+            res['userID'] = userID
             print(res)
             return response.json(0, res)
         else: