We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe what happened (or what feature you want) nacos配置:
alarm: weixin: api: http://172.25.63.72:8080/weixin
获取动态配置如下
@(dataId = "spring-nacos-demo.yml",type = ConfigType.YAML) public void onRecive(Properties value){ System.out.println("Properties:"+ value); } 打印:Properties:{weixin=, api=http://172.25.63.72:8080/weix, alarm=}
@NacosConfigListener(dataId = "spring-nacos-demo.yml",type = ConfigType.YAML) public void onRecive(String value){ System.out.println("String:"+ value); } 打印:String:alarm: weixin: api: http://172.25.63.72:8080/weix
Describe what you expected to happen 如何获取:alarm.weixin.api的值呢
How to reproduce it (as minimally and precisely as possible) Tell us your environment
com.alibaba.boot nacos-config-spring-boot-starter 0.2.4
Anything else we need to know?
The text was updated successfully, but these errors were encountered:
This will be added in the next version and will automatically become a Map object when the parameter is Map
Sorry, something went wrong.
Merge pull request #192 from chuntaojun/develop
fd3d649
feat: issue #189
chuntaojun
No branches or pull requests
Describe what happened (or what feature you want)
nacos配置:
alarm:
weixin:
api: http://172.25.63.72:8080/weixin
获取动态配置如下
@(dataId = "spring-nacos-demo.yml",type = ConfigType.YAML)
public void onRecive(Properties value){
System.out.println("Properties:"+ value);
}
打印:Properties:{weixin=, api=http://172.25.63.72:8080/weix, alarm=}
@NacosConfigListener(dataId = "spring-nacos-demo.yml",type = ConfigType.YAML)
public void onRecive(String value){
System.out.println("String:"+ value);
}
打印:String:alarm:
weixin:
api: http://172.25.63.72:8080/weix
Describe what you expected to happen
如何获取:alarm.weixin.api的值呢
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
com.alibaba.boot nacos-config-spring-boot-starter 0.2.4
Anything else we need to know?
The text was updated successfully, but these errors were encountered: