Properties共1篇
Spring boot属性绑定-TOY论坛

Spring boot属性绑定

@PropertySourece() my.properties name=kil UserService.java 添加@PropertySource('my.properties')指定配置文件 引用@Value('${name}') package cn.kil.springboot_parameter.service; impor...
toywl666的头像-TOY论坛钻石会员toywl6662年前
05213