Browse Source

v3/uiduser/add'接口,view_password空的时候,返回错误信息

chanjunkai 5 years ago
parent
commit
fa95c76d92
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Controller/UidUser.py

+ 2 - 0
Controller/UidUser.py

@@ -399,6 +399,8 @@ def v3addInterface(request):
         print(View_Password)
     except Exception as e:
         return response.json(111)
+    if not View_Password:
+        return response.json(111)   
     if all([UID, NickName, View_Account, Type, ChannelIndex]):
         tko = TokenObject(token)
         response.lang = tko.lang