在SpringMVC集成AOP做请求和返回响应时打印了两次日志:
1、去掉@Component;
2、日志的原因,请参照:http://stackoverflow.com/questions/18731520/spring-aop-controller-executing-twice
3、或者是
<aop:aspectj-autoproxy proxy-target-class="true"/> <bean class="com.esmall.seller.module.aop.SysLogAspect" />
两个删除一个
http://stackoverflow.com/questions/11516092/spring-aop-advice-called-twice