Browse Source

Merge remote-tracking branch 'remotes/origin/peng' into test

Ansjer 2 years ago
parent
commit
416f8f6651
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Controller/UserController.py

+ 2 - 1
Controller/UserController.py

@@ -687,7 +687,8 @@ class refreshTokenViewV3(TemplateView):
         request_dict = request.GET
         request_dict = request.GET
         return self.validation(request_dict)
         return self.validation(request_dict)
 
 
-    def delete_user_and_device(self, user_id):
+    @staticmethod
+    def delete_user_and_device(user_id):
         # 删除不同区域相同用户
         # 删除不同区域相同用户
         data = {'userID': user_id}
         data = {'userID': user_id}
         if CONFIG_INFO == CONFIG_US:
         if CONFIG_INFO == CONFIG_US: