摘要:
@Component public class Person { @Value("#{11*20}") private int age; @Value("true") private boolean merry; @Value("${person.name}") private String nam 阅读全文
posted @ 2022-04-20 11:13
甜菜波波
阅读(1888)
评论(0)
推荐(0)
摘要:
phone.whiteList={'123','346','456'}@Value("#{${phone.whiteList}}")private List<String> phoneList; 方法2: role.id=[ 1,2,3 ] @ApolloJsonValue("${role.id}" 阅读全文
posted @ 2022-04-20 11:01
甜菜波波
阅读(260)
评论(0)
推荐(0)

浙公网安备 33010602011771号