springboot的使用,拦截器,事务的注解使用

参考文档: https://files.cnblogs.com/files/han-guang-xue/springboot%E7%9A%84%E4%BD%BF%E7%94%A8.pdf

注意事项:在写切面拦截的时候需要在自己的类上使用@Configuration注解,否则没有效果

猜你喜欢

转载自www.cnblogs.com/han-guang-xue/p/9945219.html