rabin 7 年之前
父节点
当前提交
e49a8b0b71
共有 1 个文件被更改,包括 2 次插入0 次删除
  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('/')