Sfoglia il codice sorgente

v1.0-fix: 修复配置文件和application文件命名

18280303334 7 mesi fa
parent
commit
8c5a07e0d8

+ 3 - 3
iot-platform-manager/src/main/java/com/platform/UpgradeApplication.java → iot-platform-manager/src/main/java/com/platform/IotPlatformManagerApplication.java

@@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.scheduling.annotation.EnableScheduling;
 
 /**
- * @Author: 马超伟
+ * @Author: donglang
  * @CreateTime: 2025-09-30
  * @Description:
  * @Version: 1.0
@@ -15,8 +15,8 @@ import org.springframework.scheduling.annotation.EnableScheduling;
 @SpringBootApplication
 @MapperScan("com.platform.mapper")
 @EnableScheduling
-public class UpgradeApplication {
+public class IotPlatformManagerApplication {
     public static void main(String[] args) {
-        SpringApplication.run(UpgradeApplication.class, args);
+        SpringApplication.run(IotPlatformManagerApplication.class, args);
     }
 }

+ 0 - 3
iot-platform-manager/src/main/resources/bootstrap.yml

@@ -10,14 +10,11 @@ spring:
         enabled: true
         group: DEFAULT_GROUP
       config:
-#        import-check:
-#          enabled: false
         namespace: iot
         server-addr: 10.10.10.224:8848   # Nacos 配置中心地址
         enabled: true
         group: DEFAULT_GROUP
         file-extension: yaml
-        name: demo
         shared-configs:
           - dataId: common-iot.yaml
             group: common-iot