Przeglądaj źródła

打印登录参数

locky 1 rok temu
rodzic
commit
74391758af
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      controller/index.py

+ 1 - 2
controller/index.py

@@ -131,8 +131,7 @@ class loginHandleView(TemplateView):
         skill_name = request_dict.get("skill_name", '')
         # 返回code
         logger = logging.getLogger('django')
-        logger.info('------开始认证登录------')
-        logger.info('userName: {}, userPwd: {}, redirect_uri: {}'.format(user, pwd, redirect_uri))
+        logger.info('------开始认证登录------参数:{}'.format(request_dict))
 
         if client_id != 'azalexaclient' or response_type != 'code' or scope != 'profile':
             return response.json(10, res={'msg': 'error'}, extra={'msg': 'message wrong'})