Browse Source

fix debug log

release_toaliyun_real
xiaohanzi 4 years ago
parent
commit
eb2797cee6
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      mallinkCApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java

+ 4
- 4
mallinkCApi/src/main/java/com/iformall/interceptor/TestControllerReturnAspect.java View File

@@ -24,17 +24,17 @@ import lombok.extern.slf4j.Slf4j;
* @author alascor
*
*/
@Aspect
@Configuration
//@Aspect
//@Configuration
@Slf4j
public class TestControllerReturnAspect {

@Pointcut("execution(* com.iformall.controller.*Controller.*(..))")
//@Pointcut("execution(* com.iformall.controller.*Controller.*(..))")
public void excudeService() {
}
@Around("excudeService()")
//@Around("excudeService()")
public Object doAround(ProceedingJoinPoint pjp) throws Throwable {
RequestAttributes ra = RequestContextHolder.getRequestAttributes();
ServletRequestAttributes sra = (ServletRequestAttributes) ra;


Loading…
Cancel
Save