kilit 6 years ago
parent
commit
7d8d432f5d

+ 2 - 2
src/main/java/com/hongxin/hcd/backend/service/demo/ServiceBaseApplication.java

@@ -10,10 +10,10 @@ import tk.mybatis.spring.annotation.MapperScan;
 @EnableEurekaClient
 @EnableFeignClients(basePackages = {"com.hongxin.hcd.backend"})
 @MapperScan(basePackages = {"com.hongxin.hcd.backend.service.base.mapper"})
-public class ServiceBaseApplication {
+public class ServiceDemoApplication {
 
     public static void main(String[] args) {
-        SpringApplication.run(ServiceBaseApplication.class, args);
+        SpringApplication.run(ServiceDemoApplication.class, args);
     }
 
 

+ 1 - 1
src/main/resources/bootstrap-prod.yml

@@ -2,7 +2,7 @@ spring:
   cloud:
     config:
       uri: http://192.168.1.22:8888
-      name: hcd-backend-client-eureka, hcd-backend-client-zipkin, hcd-backend-client-admin, hcd-backend-common-service, hcd-backend-service-base ,hcd-backend-client-redis, hcd-backend-common-hosts
+      name: hcd-backend-client-eureka, hcd-backend-client-zipkin, hcd-backend-client-admin, hcd-backend-common-service, hcd-backend-service-demo ,hcd-backend-client-redis, hcd-backend-common-hosts
       label: master
       profile: prod
   main:

+ 1 - 1
src/main/resources/bootstrap.yml

@@ -2,7 +2,7 @@ spring:
   cloud:
     config:
       uri: http://localhost:8888
-      name: hcd-backend-client-eureka, hcd-backend-client-zipkin, hcd-backend-client-admin, hcd-backend-common-service, hcd-backend-client-redis, hcd-backend-service-base, hcd-backend-common-hosts
+      name: hcd-backend-client-eureka, hcd-backend-client-zipkin, hcd-backend-client-admin, hcd-backend-common-service, hcd-backend-client-redis, hcd-backend-service-demo, hcd-backend-common-hosts
       label: master
       profile: dev
   main: