|
@@ -1,4 +1,4 @@
|
|
|
-package com.jiayue.ipfcst.config;
|
|
|
+package com.jiayue.ipfcst.aop;
|
|
|
|
|
|
import cn.hutool.core.io.FileUtil;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
@@ -6,26 +6,22 @@ import org.aspectj.lang.ProceedingJoinPoint;
|
|
|
import org.aspectj.lang.annotation.Around;
|
|
|
import org.aspectj.lang.annotation.Aspect;
|
|
|
import org.aspectj.lang.annotation.Pointcut;
|
|
|
-import org.aspectj.lang.reflect.MethodSignature;
|
|
|
import org.springframework.context.ApplicationContext;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
-import org.springframework.web.context.request.RequestAttributes;
|
|
|
-import org.springframework.web.context.request.RequestContextHolder;
|
|
|
|
|
|
import java.io.File;
|
|
|
-import java.lang.reflect.Method;
|
|
|
import java.util.Arrays;
|
|
|
import java.util.List;
|
|
|
|
|
|
@Aspect
|
|
|
@Component
|
|
|
@Slf4j
|
|
|
-public class InitWithSprare2 extends BaseInfo {
|
|
|
+public class Spare2Aspect extends Spare2Info {
|
|
|
|
|
|
private final ApplicationContext applicationContext;
|
|
|
private final File resultFile = getResultFile();
|
|
|
|
|
|
- public InitWithSprare2(ApplicationContext applicationContext) {
|
|
|
+ public Spare2Aspect(ApplicationContext applicationContext) {
|
|
|
this.applicationContext = applicationContext;
|
|
|
}
|
|
|
|