临时工作进度

This commit is contained in:
2025-11-16 04:26:20 +08:00
parent edcbfd4ffd
commit bf29e34d2e
8 changed files with 114 additions and 62 deletions

View File

@@ -20,9 +20,8 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Method;
@Aspect
@Component
@Aspect
public class RequireAuthAndProxyAspect {
@Autowired
@@ -58,6 +57,9 @@ public class RequireAuthAndProxyAspect {
throw new RuntimeException("鉴权登录失败");
}
}
else if (!EmoneyClient.relogin()) {
throw new RuntimeException("检查重鉴权失败");
}
return pjp.proceed();
}