如果使用Spring Cloud Consul Config,则需要将上述值放在 bootstrap.yml 而不是 application.yml 中。 从 Environment 获取的默认服务name,instance id 和port 分别是 ${ ...
確定! 回上一頁