Springboot切换配置文件

摘要: Springboot切换配置文件 运行方式切换 第一种方式(yml和properties) 1、编辑配置文件(三个,总配置,测试环境,开发环境) application.yml spring: profiles: active: dev application-dev.yml com: name: 阅读全文
posted @ 2022-02-23 10:17 Chase_Hanky 阅读(750) 评论(0) 推荐(0)

json表示格式

摘要: json表示格式 json格式化转化在线工具 [https://www.sojson.com/] 数组方式 [ ]、对象方式 { } 1、数组类型: int型数组: { "arr" : [1, 2, 3, 4] } string数组 { "arr" : ["a", "b", "c", "d"] } 阅读全文
posted @ 2022-02-23 09:46 Chase_Hanky 阅读(96) 评论(0) 推荐(0)