server:
  port: 8108

#数据源配置
spring:
  datasource:
    url: ${blade.datasource.dev.url}
    username: ${blade.datasource.dev.username}
    password: ${blade.datasource.dev.password}
  cloud:
    nacos:
      config:
        shared-configs:
          - data-id: third-party-api.yaml
            refresh: true

#第三方接口本地默认配置，Nacos third-party-api.yaml 可覆盖
thirdParty:
  ocr:
    baseUrl: ${OCR_BASE_URL:http://127.0.0.1:8080}
    baseOtherUrl: ${OCR_BASE_OTHER_URL:http://127.0.0.1:8080}
  wps:
    baseUrl: ${WPS_BASE_URL:http://127.0.0.1:8080}
  oa:
    baseUrl: ${OA_BASE_URL:http://127.0.0.1:8080}
  track:
    baseUrl: ${TRACK_BASE_URL:http://127.0.0.1:8080}
  mk:
    baseUrl: ${MK_BASE_URL:http://127.0.0.1:8080}

#spring:
#  application:
#    name: blade-openapi
#  cloud:
#    nacos:
#      discovery:
#        namespace: ${spring.profiles.active}
#        # 不注册到nacos
#        #registerEnabled: false
#      config:
#        # 文件后缀名
#        file-extension: yaml
#        namespace: ${spring.profiles.active}
#        shared-configs:
#          - data-id: blade.yaml
#            refresh: true
#          - data-id: blade-${spring.profiles.active}.yaml
#            refresh: true
#          - data-id: third-party-api.yaml
#            refresh: true
#        extension-configs:
#          - data-id: ${spring.application.name}-dynamictp.yaml
#            group: DEFAULT_GROUP
#            refresh: true  # 必须配置，负责自动刷新不生效
