yml定义:
serv-app:
common:
appid: ABC
appkey: ABC
sigkey: ABC
seckey: ABC
monitorApiUrl: http://127.0.0.1:9999/web/open/abc
读取:
@Value("${serv-app.common.appid:''}")
private String appid;
yml定义:
serv-app:
common:
appid: ABC
appkey: ABC
sigkey: ABC
seckey: ABC
monitorApiUrl: http://127.0.0.1:9999/web/open/abc
读取:
@Value("${serv-app.common.appid:''}")
private String appid;