|
|
|
@ -10,6 +10,7 @@ import com.shxy.xymanager_common.util.StringUtils;
|
|
|
|
|
import com.shxy.xymanager_common.util.ip.IpUtils;
|
|
|
|
|
import org.aspectj.lang.JoinPoint;
|
|
|
|
|
import org.aspectj.lang.annotation.*;
|
|
|
|
|
import org.aspectj.lang.reflect.MethodSignature;
|
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@ -47,7 +48,9 @@ public class LogAspect {
|
|
|
|
|
*/
|
|
|
|
|
@Before("operLogPoinCut()")
|
|
|
|
|
public void LogRequestInfo(JoinPoint joinPoint) throws Exception {
|
|
|
|
|
handleLog(joinPoint, null, null, null);
|
|
|
|
|
MethodSignature methodSignature = (MethodSignature) joinPoint.getSignature();
|
|
|
|
|
Log log1 = methodSignature.getMethod().getAnnotation(Log.class);
|
|
|
|
|
handleLog(joinPoint, log1, null, null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|