liubo пре 3 година
родитељ
комит
e091ecf92e

+ 1 - 0
zd-model/src/main/resources/application.yml

@@ -10,5 +10,6 @@ service:
     airbottle: 9013
     exam: 9014
     algorithm: 9015
+    bottle: 9016
     app: 9021
 

+ 1 - 2
zd-modules/zd-airbottle/src/main/java/com/zd/airbottle/ZdAirbottleApplication.java

@@ -6,7 +6,6 @@ import com.zd.common.core.annotation.EnableRyFeignClients;
 import com.zd.common.core.launch.ZdStartApplication;
 import com.zd.model.constant.ApplicationConstants;
 import com.zd.model.constant.BaseConstants;
-import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.context.annotation.ComponentScan;
 import org.springframework.scheduling.annotation.EnableScheduling;
@@ -25,6 +24,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
 @ComponentScan(basePackages = BaseConstants.BASE_PACKAGE)
 public class ZdAirbottleApplication {
     public static void main(String[] args) {
-        ZdStartApplication.run(ApplicationConstants.BOTTLE_SERVICE, ZdAirbottleApplication.class, args);
+        ZdStartApplication.run(ApplicationConstants.AIR_BOTTLE_SERVICE, ZdAirbottleApplication.class, args);
     }
 }

+ 2 - 2
zd-modules/zd-bottle-parent/zd-bottle/src/main/resources/bootstrap.yml

@@ -1,6 +1,6 @@
 # Tomcat
 server:
-  port: ${service.port.airbottle}
+  port: ${service.port.bottle}
 
 # mybatis配置
 mybatis-plus:
@@ -18,4 +18,4 @@ pagehelper:
   reasonable: true
   support-methods-arguments: true
   page-size-zero: true
-  params: count=countSql
+  params: count=countSql