Commit fde558b4 by 袁伟铭

优化代码

parent d7505953
...@@ -6,7 +6,7 @@ spring: ...@@ -6,7 +6,7 @@ spring:
security: security:
user: user:
name: admin name: admin
password: GXfy2021 password: Gxzq2024
eureka: # 相关文章:https://blog.csdn.net/weixin_49149614/article/details/121059046 eureka: # 相关文章:https://blog.csdn.net/weixin_49149614/article/details/121059046
instance: instance:
#设置使用IP注册就会优先使用IP,hostname则无效 #设置使用IP注册就会优先使用IP,hostname则无效
...@@ -28,4 +28,4 @@ eureka: # 相关文章:https://blog.csdn.net/weixin_49149614/article/details/1 ...@@ -28,4 +28,4 @@ eureka: # 相关文章:https://blog.csdn.net/weixin_49149614/article/details/1
fetch-registry: false fetch-registry: false
# 设置与Eureka Server交互的地址,查询服务和注册服务都需要依赖这个地址。默认是http://127.0.0.1:8000/eureka ;多个地址可使用,分隔 # 设置与Eureka Server交互的地址,查询服务和注册服务都需要依赖这个地址。默认是http://127.0.0.1:8000/eureka ;多个地址可使用,分隔
service-url: service-url:
defaultZone: http://admin:GXfy2021@127.0.0.1:8800/eureka/ defaultZone: http://admin:Gxzq2024@127.0.0.1:8800/eureka/
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
<id>dev</id> <id>dev</id>
<properties> <properties>
<profiles.active>dev</profiles.active> <profiles.active>dev</profiles.active>
<register.url>http://admin:123456@127.0.0.1:8800/eureka/</register.url> <register.url>http://admin:Gxzq2024@127.0.0.1:8800/eureka/</register.url>
</properties> </properties>
<activation> <activation>
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
<id>test</id> <id>test</id>
<properties> <properties>
<profiles.active>test</profiles.active> <profiles.active>test</profiles.active>
<register.url>http://admin:123456@127.0.0.1:8800/eureka/</register.url> <register.url>http://admin:Gxzq2024@127.0.0.1:8800/eureka/</register.url>
</properties> </properties>
</profile> </profile>
<profile> <profile>
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
<id>product</id> <id>product</id>
<properties> <properties>
<profiles.active>product</profiles.active> <profiles.active>product</profiles.active>
<register.url>http://admin:123456@127.0.0.1:8800/eureka/</register.url> <register.url>http://admin:Gxzq2024@127.0.0.1:8800/eureka/</register.url>
</properties> </properties>
</profile> </profile>
</profiles> </profiles>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment