|
@@ -21,6 +21,8 @@ import org.aspectj.lang.annotation.Around;
|
|
|
import org.aspectj.lang.annotation.Aspect;
|
|
|
import org.aspectj.lang.annotation.Pointcut;
|
|
|
import org.aspectj.lang.reflect.MethodSignature;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.data.mongodb.core.MongoTemplate;
|
|
@@ -39,17 +41,7 @@ import java.util.*;
|
|
|
@Slf4j
|
|
|
public class InnerVisitLogInterceptor {
|
|
|
|
|
|
- @Autowired
|
|
|
- private RedisUtil redisUtil;
|
|
|
-
|
|
|
- @Autowired
|
|
|
- private MongoTemplate mongoTemplate;
|
|
|
-
|
|
|
- @Autowired
|
|
|
- private ISysUserService userService;
|
|
|
-
|
|
|
- @Value("${server.servlet.context-path:null}")
|
|
|
- private String contextPath;
|
|
|
+ public static final Logger log = LoggerFactory.getLogger("visitLog");
|
|
|
|
|
|
// 切入点表达式
|
|
|
@Pointcut("execution(public * com.fdkankan.manage.inner.controller..*.*(..))")
|