import com.didiglobal.ehr.perfservice.api.util.NetworkUtil;
import com.didiglobal.ehr.perfservice.infrastructure.common.util.JsonUtil;
import lombok.extern.slf4j.Slf4j;
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.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletRequest;
import java.util.Objects;
@Aspect
@Order(1)
@Component
@Slf4j
class LogAspect {
//controller下的所有方法,排除敏感数据接口,敏感数据接口控制器中自己打
@Pointcut("execution(public * com.didiglobal.ehr.perfservice.api.controller..*(..))" +
"&a
地基代码——日志切面
最新推荐文章于 2024-06-12 23:05:18 发布