phone.whiteList={'123','346','456'}
@Value("#{${phone.whiteList}}")
private List<String> phoneList;
方法2:
role.id=[ 1,2,3 ]
@ApolloJsonValue("${role.id}")
private Set<Long> roleIds;
phone.whiteList={'123','346','456'}
@Value("#{${phone.whiteList}}")
private List<String> phoneList;
方法2:
role.id=[ 1,2,3 ]
@ApolloJsonValue("${role.id}")
private Set<Long> roleIds;