第一天
springboot 2.x版本 的url 根地址配置是 server.servlet.context-path=?
如果要用到跨域可以直接注解@CrossOrgin
第二天
mybatis分页插件要 引入其他依赖,而不是引入单纯的pagehelper,版本太高有可能失效
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.2.10</version>
</dependency>