摘要: springboot中使用AOP做访问请求日志:这次引入springboot的aop和日志 1、pom.xml引入: <!--springBoot的aop,已经集成了spring aop和AspectJ--> <dependency> <groupId>org.springframework.boo 阅读全文
posted @ 2020-01-02 21:44 来一杯可乐 阅读(554) 评论(0) 推荐(0)
摘要: springboot集成swagger 1、pom.xml中引入: <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </ 阅读全文
posted @ 2020-01-02 21:15 来一杯可乐 阅读(284) 评论(0) 推荐(0)
摘要: springboot中的跨域问题,如果不注意的话,容易造成错误,本次springboot版本为2.13 前端错误信息: Access to XMLHttpRequest at 'http://localhost:8080/user/loginOn' from origin 'http://local 阅读全文
posted @ 2020-01-02 20:36 来一杯可乐 阅读(776) 评论(0) 推荐(0)