修复 Spring Cloud 单元测试,插入数据不返回 id 的问题

This commit is contained in:
YunaiV
2022-11-11 01:20:13 +08:00
parent efd42c81e0
commit 40d3324266
6 changed files with 23 additions and 3 deletions

View File

@@ -105,6 +105,11 @@
<artifactId>jackson-core</artifactId>
<scope>provided</scope> <!-- 设置为 provided只有工具类需要使用到 -->
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<scope>provided</scope> <!-- 设置为 provided只有工具类需要使用到 -->
</dependency>
<dependency>
<groupId>org.slf4j</groupId>