瀏覽代碼

增加配置文件读取

tags/v1.0.0^2
林万龙 4 年之前
父節點
當前提交
cc5e05c695
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      src/main/resources/bootstrap-dev.yaml

+ 4
- 4
src/main/resources/bootstrap-dev.yaml 查看文件

@@ -1,12 +1,12 @@
spring:
profiles:
active: dev

main:
allow-bean-definition-overriding: true
application:
name: dipperposition-service
name: dipperposition-service.yaml
cloud:
nacos:
config:
service=${spring:application:name}:
server-addr: 172.16.192.26:8848
file-extension: yml
file-extension: yaml

Loading…
取消
儲存