修改已知问题

This commit is contained in:
chenxudong 2025-02-17 14:57:16 +08:00
parent cf5a078473
commit c6758de47a
1 changed files with 1 additions and 1 deletions

View File

@ -68,6 +68,7 @@ public class ServiceAspect {
long startTime = System.currentTimeMillis(); long startTime = System.currentTimeMillis();
StopWatch stopwatch = new StopWatch(); StopWatch stopwatch = new StopWatch();
stopwatch.start("接口:" + methodInfo); stopwatch.start("接口:" + methodInfo);
UserThreadLocal.setReqArgs(paramInfo);
Object rvt = jp.proceed(); Object rvt = jp.proceed();
if (Objects.isNull(UserThreadLocal.getUser())) { if (Objects.isNull(UserThreadLocal.getUser())) {
@ -75,7 +76,6 @@ public class ServiceAspect {
UserThreadLocal.set(userLoginInfo); UserThreadLocal.set(userLoginInfo);
} }
UserThreadLocal.setReqArgs(paramInfo);
if (rvt instanceof ResponseEntity) { if (rvt instanceof ResponseEntity) {
UserThreadLocal.setRes(ElectromagneticResultUtil.success("")); UserThreadLocal.setRes(ElectromagneticResultUtil.success(""));
return rvt; return rvt;