@Value(value="${abc:defaultValue}")
這個從配置文件中拿數據
@Value(value="#{xxxBean.property:defaultValue}")
這個從某個bean的屬性中拿數據
@Autowired @Resource
https://www.cnblogs.com/think-in-java/p/5474740.html
@Value(value="${abc:defaultValue}")
這個從配置文件中拿數據
@Value(value="#{xxxBean.property:defaultValue}")
這個從某個bean的屬性中拿數據
@Autowired @Resource
https://www.cnblogs.com/think-in-java/p/5474740.html