|
@@ -76,7 +76,7 @@ public class LoginAction {
|
|
throw new RuntimeException("用户名或密码错误");
|
|
throw new RuntimeException("用户名或密码错误");
|
|
}
|
|
}
|
|
if(user.getState()==0){
|
|
if(user.getState()==0){
|
|
- throw new RuntimeException("账号已被删除");
|
|
|
|
|
|
+ throw new RuntimeException("账号已停用,请联系管理员");
|
|
}
|
|
}
|
|
if(user.getToken()==null||"".equals(user.getToken())){
|
|
if(user.getToken()==null||"".equals(user.getToken())){
|
|
loginService.insertToken(user.getUserId(), token);
|
|
loginService.insertToken(user.getUserId(), token);
|