增加mongodb配置及查询

This commit is contained in:
2025-09-04 18:14:55 +08:00
parent 5d16ba01bd
commit 5ce369db71
7 changed files with 190 additions and 1 deletions

View File

@@ -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("登录失败:密码错误");
}
}