refactor(system): 移除 me 接口中的操作日志注解
移除了 UserController 类中 me 方法的 @OperationLogAnnotation 注解,该注解用于记录操作类型为"登录"的日志。此次修改可能是为了优化日志记录策略或调整性能。
This commit is contained in:
parent
db55b2f748
commit
f7e9e60a50
@ -52,7 +52,6 @@ public class UserController {
|
|||||||
* @param csrfToken csrf令牌
|
* @param csrfToken csrf令牌
|
||||||
* @return 包含csrf令牌和登录用户的认证主体信息
|
* @return 包含csrf令牌和登录用户的认证主体信息
|
||||||
*/
|
*/
|
||||||
@OperationLogAnnotation(operationType = "登录")
|
|
||||||
@RequestMapping(value = "me", method = {RequestMethod.POST, RequestMethod.GET})
|
@RequestMapping(value = "me", method = {RequestMethod.POST, RequestMethod.GET})
|
||||||
public Map<String, Object> me(@AuthenticationPrincipal Object principal, CsrfToken csrfToken) {
|
public Map<String, Object> me(@AuthenticationPrincipal Object principal, CsrfToken csrfToken) {
|
||||||
Map<String, Object> map = new LinkedHashMap<>();
|
Map<String, Object> map = new LinkedHashMap<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user