refactor(smart-admin): 统一使用“登录”替代“登陆”,确保术语准确性

This commit is contained in:
CoderKK 2025-03-20 11:42:23 +08:00
parent 109689be69
commit 684cb3f71c
4 changed files with 6 additions and 6 deletions

View File

@ -57,7 +57,7 @@ public class LoginController {
return ResponseDTO.ok(loginResult); return ResponseDTO.ok(loginResult);
} }
@Operation(summary = "退出登 @author 卓大") @Operation(summary = "退出登 @author 卓大")
@GetMapping("/login/logout") @GetMapping("/login/logout")
public ResponseDTO<String> logout() { public ResponseDTO<String> logout() {
return loginService.logout(SmartRequestUtil.getRequestUser()); return loginService.logout(SmartRequestUtil.getRequestUser());

View File

@ -142,7 +142,7 @@ public class LoginService implements StpInterface {
} }
/** /**
* 员工登 * 员工登
* *
* @return 返回用户登录信息 * @return 返回用户登录信息
*/ */
@ -316,7 +316,7 @@ public class LoginService implements StpInterface {
/** /**
* 根据登token 获取员请求工信息 * 根据登token 获取员请求工信息
*/ */
public RequestEmployee getLoginEmployee(String loginId, HttpServletRequest request) { public RequestEmployee getLoginEmployee(String loginId, HttpServletRequest request) {
if (loginId == null) { if (loginId == null) {

View File

@ -58,7 +58,7 @@ public class LoginController {
return ResponseDTO.ok(loginResult); return ResponseDTO.ok(loginResult);
} }
@Operation(summary = "退出登 @author 卓大") @Operation(summary = "退出登 @author 卓大")
@GetMapping("/login/logout") @GetMapping("/login/logout")
public ResponseDTO<String> logout() { public ResponseDTO<String> logout() {
return loginService.logout(SmartRequestUtil.getRequestUser()); return loginService.logout(SmartRequestUtil.getRequestUser());

View File

@ -144,7 +144,7 @@ public class LoginService implements StpInterface {
} }
/** /**
* 员工登 * 员工登
* *
* @return 返回用户登录信息 * @return 返回用户登录信息
*/ */
@ -318,7 +318,7 @@ public class LoginService implements StpInterface {
/** /**
* 根据登token 获取员请求工信息 * 根据登token 获取员请求工信息
*/ */
public RequestEmployee getLoginEmployee(String loginId, HttpServletRequest request) { public RequestEmployee getLoginEmployee(String loginId, HttpServletRequest request) {
if (loginId == null) { if (loginId == null) {