Commit 54d65da2 authored by 王锦盛's avatar 王锦盛

test

parent 2bf186f5
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version> <version>${spring-boot.version}</version>
<configuration> <configuration>
<mainClass>com.beagle.base.StartApp</mainClass> <mainClass>com.pms.ocp.StartApp</mainClass>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
......
...@@ -31,13 +31,13 @@ import lombok.extern.slf4j.Slf4j; ...@@ -31,13 +31,13 @@ import lombok.extern.slf4j.Slf4j;
@Component @Component
public class InterfaceLogAspect { public class InterfaceLogAspect {
@Before("execution(* com.beagle.base.controller..*.*(..))") @Before("execution(* com.pms.ocp.controller..*.*(..))")
public void before(JoinPoint joinPoint) { public void before(JoinPoint joinPoint) {
// 打印接口请求参数日志 // 打印接口请求参数日志
this.logInterfaceRequest(joinPoint); this.logInterfaceRequest(joinPoint);
} }
@Around("execution(* com.beagle.base.controller..*.*(..))") @Around("execution(* com.pms.ocp.controller..*.*(..))")
public Object around(ProceedingJoinPoint proceedingJoinPoint) throws Throwable { public Object around(ProceedingJoinPoint proceedingJoinPoint) throws Throwable {
long startTime = System.currentTimeMillis(); long startTime = System.currentTimeMillis();
Object result = proceedingJoinPoint.proceed(); Object result = proceedingJoinPoint.proceed();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment