增加mongodb配置及查询
This commit is contained in:
@@ -91,7 +91,7 @@ public class LoginController {
|
||||
return Result.ok().data(Collections.singletonMap("token", tokenPair.toMap()));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return Result.error().message("登录失败");
|
||||
return Result.error().message("登录失败:密码错误");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user