mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-11 21:23:47 +08:00
style(sa-base): 删除 SecurityLoginService 类中多余的分号,修正错别字“登陆”->“登录”
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ public class LoginService implements StpInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 员工登陆
|
* 员工登录
|
||||||
*
|
*
|
||||||
* @return 返回用户登录信息
|
* @return 返回用户登录信息
|
||||||
*/
|
*/
|
||||||
@@ -270,7 +270,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) {
|
||||||
|
|||||||
@@ -171,5 +171,4 @@ public class SecurityLoginService {
|
|||||||
return ResponseDTO.ok();
|
return ResponseDTO.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
;
|
|
||||||
Reference in New Issue
Block a user