Commit e3564a47d6c64a527994d62f87b3e74b8db29785
1 parent
ee14bcb0
refactor(config): 移除默认端口和环境配置
- 删除 server.port 配置项 - 移除 spring.profiles.active 配置项 - 保留应用名称和 Nacos 发现配置
Showing
1 changed file
with
0 additions
and
2 deletions
tax-boot/src/main/resources/application.properties
| 1 | -server.port=9999 | ||
| 2 | -spring.profiles.active=dev | ||
| 3 | spring.application.name=tax-agent | 1 | spring.application.name=tax-agent |
| 4 | spring.cloud.nacos.discovery.enabled=true | 2 | spring.cloud.nacos.discovery.enabled=true |
| 5 | spring.cloud.nacos.discovery.group=MICROSERVICE | 3 | spring.cloud.nacos.discovery.group=MICROSERVICE |