Skip to content

Commit c1f1d7e

Browse files
修改spring boot 配置metadata.json 使得配置提醒生效
1 parent de83219 commit c1f1d7e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@
5656
<scope>test</scope>
5757
</dependency>
5858

59+
<dependency>
60+
<groupId>org.springframework.boot</groupId>
61+
<artifactId>spring-boot-configuration-processor</artifactId>
62+
<optional>true</optional>
63+
</dependency>
64+
5965
<dependency>
6066
<groupId>org.projectlombok</groupId>
6167
<artifactId>lombok</artifactId>

src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"properties": [
33
{
4-
"name": "wx.mp.configs",
4+
"name": "wx.miniapp.configs",
55
"type": "java.util.List",
66
"description": "Description for wx.miniapp.configs."
77
}

0 commit comments

Comments
 (0)