|
@@ -7,7 +7,7 @@ spring:
|
|
|
active: dev
|
|
|
include: orm,cache,msg,shiro
|
|
|
application:
|
|
|
- name: registry # 服务名称,改成自己的,名称固定不变,不要随便更改
|
|
|
+ name: biz # 服务名称,改成自己的,名称固定不变,不要随便更改
|
|
|
http:
|
|
|
converters:
|
|
|
preferred-json-mapper: jackson
|
|
@@ -34,7 +34,7 @@ eureka:
|
|
|
register-with-eureka: true
|
|
|
fetch-registry: true
|
|
|
service-url:
|
|
|
- registry1: http://192.168.1.206:11000/eureka/
|
|
|
+ registry1: http://192.168.1.96:11001/eureka/
|
|
|
|
|
|
---
|
|
|
spring:
|
|
@@ -47,7 +47,9 @@ swagger:
|
|
|
eureka:
|
|
|
client:
|
|
|
service-url:
|
|
|
- defaultZone: http://192.168.1.206:11000/eureka/
|
|
|
+ defaultZone: http://192.168.1.206:11001/eureka/
|
|
|
+ register-with-eureka: false
|
|
|
+ fetch-registry: false
|
|
|
---
|
|
|
spring:
|
|
|
profiles: prod
|