摘要:
前言 SpringBoot的默认配置文件格式是.properities,同时也支持***.yaml或***.yml 1、指定启动的环境 spring: profiles: active: dev 2、给springboot服务命名(配合springcloud时非常有用) spring: applic 阅读全文
posted @ 2021-07-28 23:48
未来可期_Durant
阅读(53)
评论(0)
推荐(0)
摘要:
一、idea配置文件 application.yml spring: profiles: active: dev application-dev.yml server: port: 8081 application-test.yml server: port: 8082 application-ua 阅读全文
posted @ 2021-07-28 23:14
未来可期_Durant
阅读(97)
评论(0)
推荐(0)

浙公网安备 33010602011771号