|
@@ -13,7 +13,8 @@ import org.aspectj.lang.annotation.AfterThrowing;
|
|
|
import org.aspectj.lang.annotation.Around;
|
|
import org.aspectj.lang.annotation.Around;
|
|
|
import org.aspectj.lang.annotation.Aspect;
|
|
import org.aspectj.lang.annotation.Aspect;
|
|
|
import org.aspectj.lang.annotation.Pointcut;
|
|
import org.aspectj.lang.annotation.Pointcut;
|
|
|
-import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
|
+import org.springframework.core.Ordered;
|
|
|
|
|
+import org.springframework.core.annotation.Order;
|
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
|
@@ -31,7 +32,7 @@ import java.util.stream.Stream;
|
|
|
@Aspect
|
|
@Aspect
|
|
|
@Component
|
|
@Component
|
|
|
@Slf4j
|
|
@Slf4j
|
|
|
-@Configuration
|
|
|
|
|
|
|
+@Order(Ordered.HIGHEST_PRECEDENCE)
|
|
|
public class LogInfoAspect {
|
|
public class LogInfoAspect {
|
|
|
|
|
|
|
|
public static final String TIME_PATTERN = "yyyy-MM-dd HH:mm:ss:SSS";
|
|
public static final String TIME_PATTERN = "yyyy-MM-dd HH:mm:ss:SSS";
|