Browse Source

打印认证登录信息

locky 1 year ago
parent
commit
c3cae5477e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controller/deviceStatus.py

+ 1 - 0
controller/deviceStatus.py

@@ -101,6 +101,7 @@ class deviceStatus(TemplateView):
                     'refresh_token': refresh_token
                 }
                 r = requests.post(url=url, data=data, timeout=10)
+                logger.info('请求更新token状态码: {}'.format(r.status_code))
 
             return JsonResponse({'code': 200, 'msg': 'success'})
         except Exception as e: