🐛 修复登陆判断逻辑的bug

This commit is contained in:
smallchill 2019-02-18 12:22:22 +08:00
parent fd2312a4b6
commit 5252315335

View File

@ -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("用户名或密码不正确");
}