From ab9e3b55225455a503d40aec1a603f355e208ea7 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期四, 31 三月 2022 15:15:25 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/web/AuthController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/common/web/AuthController.java b/src/main/java/com/zy/common/web/AuthController.java index 3c67ff7..067d5e5 100644 --- a/src/main/java/com/zy/common/web/AuthController.java +++ b/src/main/java/com/zy/common/web/AuthController.java @@ -75,7 +75,7 @@ userLogin.setCreateTime(new Date()); userLoginService.insert(userLogin); Map<String, Object> res = new HashMap<>(); - res.put("username", user.getNickname()); + res.put("username", user.getUsername()); res.put("token", token); return R.ok(res); } -- Gitblit v1.9.1