Skip to content

Commit

Permalink
fix default value (#173)
Browse files Browse the repository at this point in the history
Co-authored-by: 李晓双 <lixiaoshuang@172-15-67-144.lightspeed.miamfl.sbcglobal.net>
  • Loading branch information
li-xiao-shuang and 李晓双 authored Mar 4, 2021
1 parent 39efc09 commit d77d029
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class TestController {
@NacosValue(value = "${people.enable:bbbbb}", autoRefreshed = true)
private String enable;

@Value("${people.enable}")
@Value("${people.enable:}")
private String springEnable;

@Autowired
Expand Down

0 comments on commit d77d029

Please sign in to comment.