修改配置信息
This commit is contained in:
@ -2,10 +2,11 @@ server:
|
||||
port: 18012
|
||||
servlet:
|
||||
context-path: /
|
||||
# --------------seata ------------
|
||||
seata:
|
||||
enabled: true
|
||||
application-id: biz-service-ebtp-project
|
||||
tx-service-group: biz-service-ebtp-project-group
|
||||
application-id: ${spring.application.name}
|
||||
tx-service-group: ${spring.application.name}-group
|
||||
enable-auto-data-source-proxy: true
|
||||
use-jdk-proxy: false
|
||||
service:
|
||||
@ -18,6 +19,7 @@ seata:
|
||||
eureka:
|
||||
weight: 1
|
||||
service-url: http://${eureka.instance.hostname}:8761/eureka/
|
||||
|
||||
spring:
|
||||
aop:
|
||||
auto: true #开启spring的aop配置
|
||||
@ -147,7 +149,7 @@ eureka:
|
||||
instance:
|
||||
# eureka 注册路径地址
|
||||
prefer-ip-address: true
|
||||
hostname: localhost
|
||||
hostname: 125.32.114.204
|
||||
ip-address: ${eureka.instance.hostname}
|
||||
instance-id: ${eureka.instance.hostname}:${server.port}
|
||||
client:
|
||||
|
Reference in New Issue
Block a user