linhaohong před 1 rokem
rodič
revize
81f402ab19

+ 2 - 1
Controller/UserDevice/UserDeviceShareController.py

@@ -45,8 +45,9 @@ class UserDeviceShareView(View):
         token = TokenObject(request.META.get('HTTP_AUTHORIZATION'))
         lang = request_dict.get('lang', token.lang)
         response = ResponseObject(lang)
-        LOGGER.info(f"test:{token}")
+        LOGGER.info(f"test:{token.token}")
         if token.code != 0:
+            LOGGER.info(f"token.code:{token.code}")
             return response.json(token.code)
         if operation == 'user-permissions':
             return self.get_user_share_permission(request_dict, response)