yml
my_map: test1: val1 test2: val2
properties
my_map={test1:"val1",test2:"val2"}
读取
@Value("#{${my_map}}") private Map<String,String> my_map;