♻️ 重构代码。
This commit is contained in:
1 parent
d79f000ce1
commit
9e6ca907bb
14 files changed
+20
-95
No files matched your search
@@ -19,7 +19,7 @@ eureka:
|
||||
prefer-ip-address: true
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://pig:pig@localhost:1025/eureka/
|
||||
defaultZone: http://pig:pig@pigx-eureka:1025/eureka/
|
||||
|
||||
# 暴露监控端点
|
||||
management:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
spring:
|
||||
redis:
|
||||
password:
|
||||
host: localhost
|
||||
host: pigx-redis
|
||||
# 暴露监控端点
|
||||
management:
|
||||
endpoints:
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
security:
|
||||
oauth2:
|
||||
client:
|
||||
client-id: pig
|
||||
client-secret: pig
|
||||
client-id: pigx
|
||||
client-secret: pigx
|
||||
scope: server
|
||||
resource:
|
||||
token-info-uri: http://localhost:9999/auth/oauth/check_token
|
||||
token-info-uri: http://pigx-gateway:9999/auth/oauth/check_token
|
||||
|
||||
# 数据源
|
||||
spring:
|
||||
|
||||
Reference in new issue
Block a user