SpringCloud的Openfeign
如果你的RPC是spring cloud,需要在spring xml里如下配置
<bean class="com.yomahub.tlog.feign.filter.TLogFeignFilter"/>
<bean class="com.yomahub.tlog.core.aop.AspectLogAop"/>
同时需要在spring mvc的xml里做如下配置
<mvc:interceptors>
<bean class="com.yomahub.tlog.web.interceptor.TLogWebInterceptor" />
</mvc:interceptors>
帮助我们改善文档 (opens new window)
last update: 2022/09/21, 16:00:22