🐛 修复登陆判断逻辑的bug
This commit is contained in:
parent
fd2312a4b6
commit
5252315335
|
|
@ -62,7 +62,7 @@ public class AuthController {
|
|||
User user = res.getData().getUser();
|
||||
|
||||
//验证用户
|
||||
if (user == null) {
|
||||
if (user == null || Func.isEmpty(user.getId())) {
|
||||
return R.fail("用户名或密码不正确");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user