rabin 7 years ago
parent
commit
e49a8b0b71
1 changed files with 2 additions and 0 deletions
  1. 2 0
      front/api/login.py

+ 2 - 0
front/api/login.py

@@ -40,6 +40,8 @@ class login_path(Load):
 					state = self.bind(user['id'], nickname)
 					if state == False:
 						self.out('手机号或密码错误,登录失败')
+					elif state and state['status'] == False:
+						self.out('您的微信账号已经被封禁,请联系管理员')
 					else:
 						#self.set_secure_cookie('user', str(user['id']))
 						#self.redirect('/')