代码
未读
Spring Boot3整合MyBatisPlus实现多数据源
1.导入多数据源pom依赖 <!-- 多数据源 -->
<!-- https://mvnrepository.com/artifact/com.baomidou/dynamic-datasource-spring-boot3-starter -->
<dependency>
<grou
代码
未读
SpringBoot在使用@Cacheable缓存对象为空
1.情况 SpringBoot在使用@Cacheable缓存对象为空 具体就是在实体类的时候,List<Integer>为空 1.1 实体类 @Schema( description = "赠送礼物id")
private List<Integer> itemId;
@Schema( descrip
代码
未读
Springboot跨域问题
原因 之前Config类是implements WebMvcConfigurer //请求跨域
final String ORIGINS[] = new String[] { "GET", "POST", "PUT", "DELETE" };
@Override
public
代码
未读
宝塔部署War包的SpringBoot
1.调整pom.xml 加入war <groupId>com.jam</groupId>
<artifactId>childrenmonitor</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging> //说

