摘要: Springboot读取配置时,有时不需要必须配置值, //增加冒号,即使没有配置user.name,依然可以正常启动 @Value("\${user.name:}") 阅读全文
posted @ 2023-04-27 21:16 蚂蚁搬砖a 阅读(18) 评论(0) 推荐(0) 编辑