除了“springboot通过spring AOP记录接口请求参数日志”的配置外,还需要在、spring-mvc.xml中进行配置
增加
xmlns:aop="http://www.springframework.org/schema/aop" http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
位置如下:
别外增加配置
<!-- 启动AspectJ自动代理 --> <aop:aspectj-autoproxy proxy-target-class="true"/>