Application:
Name: foo
Cloud:
Config:
Uri: ${} SPRING_CONFIG_URI: http://localhost:8888
CodePudding user response:
Are different in writing, this kind of use in the configuration class at the end of yml, with Spaces to indent at the corresponding levels, this is a kind of the tree structure method and the normal situation is first loaded yml, then loading the properties file, if the same configuration is present in the two files, finally will use the properties of the configuration, finally read the highest priority set,CodePudding user response: