这篇文章将为大家详细讲解有关使用spring boot实现profiles动态切换,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。
具体做法:
1、首先在pom中添加profiles:
dev true dev org.springframework.boot spring-boot-devtools true org.springframework.boot spring-boot-starter-undertow prod org.springframework.boot spring-boot-starter-undertow prod
售后响应及时
7×24小时客服热线数据备份
更安全、更高效、更稳定价格公道精准
项目经理精准报价不弄虚作假合作无风险
重合同讲信誉,无效全额退款