From aae8851a8641d62358c12b604c080ccf1c471240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A3=B4=E6=B5=A9=E5=AE=87?= <617594538@qq.com> Date: Mon, 27 May 2024 19:03:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BE=A4=E6=99=96token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/pnkx/web/controller/system/SysLoginController.java | 5 ----- .../java/com/pnkx/common/core/domain/entity/SysUser.java | 6 +++--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/pnkx-admin/src/main/java/com/pnkx/web/controller/system/SysLoginController.java b/pnkx-admin/src/main/java/com/pnkx/web/controller/system/SysLoginController.java index 3b4023a..c4cd877 100644 --- a/pnkx-admin/src/main/java/com/pnkx/web/controller/system/SysLoginController.java +++ b/pnkx-admin/src/main/java/com/pnkx/web/controller/system/SysLoginController.java @@ -20,11 +20,6 @@ import com.pnkx.system.service.ISysUserService; import net.sf.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.http.HttpEntity; -import org.springframework.http.ResponseEntity; -import org.springframework.util.LinkedMultiValueMap; -import org.springframework.util.MultiValueMap; import org.springframework.web.bind.annotation.*; import org.springframework.web.client.RestTemplate; import org.springframework.web.util.UriComponentsBuilder; diff --git a/pnkx-common/src/main/java/com/pnkx/common/core/domain/entity/SysUser.java b/pnkx-common/src/main/java/com/pnkx/common/core/domain/entity/SysUser.java index 3838b4f..539e9cd 100644 --- a/pnkx-common/src/main/java/com/pnkx/common/core/domain/entity/SysUser.java +++ b/pnkx-common/src/main/java/com/pnkx/common/core/domain/entity/SysUser.java @@ -149,7 +149,7 @@ public class SysUser extends BaseEntity { @Getter private IpLocation location; - private String SynoToken; + private String synoToken; public SysUser() { @@ -348,11 +348,11 @@ public class SysUser extends BaseEntity { } public String getSynoToken() { - return SynoToken; + return synoToken; } public void setSynoToken(String synoToken) { - SynoToken = synoToken; + this.synoToken = synoToken; } @Override