# Tomcat
server:
  port: 8085

# Spring
spring:
  application:
    # 应用名称
    name: bd-third
  jackson:
    # 返回数据序列化时，如果为 null 则不进行返回
    default-property-inclusion: NON_NULL
  profiles:
    # 环境配置
    active: dev
  cloud:
    nacos:
      discovery:
        # 服务注册地址
        server-addr: @config.server-addr@
        username: @config.username@
        password: @config.password@
        namespace: @config.namespace@
      config:
        # 配置中心地址
        server-addr: @config.server-addr@
        username: @config.username@
        password: @config.password@
        namespace: @config.namespace@
        # 配置文件格式
        file-extension: yml
        # 共享配置
        shared-configs:
          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
          ## 业务模块依赖的公用配置（缓存、数据库、事务、mybatis-plus）
          - business-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
          ## 三方自定义配置
          - business-third.${spring.cloud.nacos.config.file-extension}
  main:
    ## 当遇到同样名字的时候，是否允许覆盖注册
    allow-bean-definition-overriding: true
    ## true 表示控制台不会打印循环依赖异常
    allow-circular-references: true

dubbo:
  registry:
    ## 使用spring-cloud注册配置
    address: spring-cloud://localhost
  consumer:
    # 远程服务调用超时时间（毫秒）
    timeout: 10000
    ## 启动时不检查服务提供者是否存在
    check: false
    # 重试次数（默认：2）
    retries: 0
    ## 负载策略（最少活跃调用）
    loadbalance: "leastactive"
  protocol:
    ## 设置协议为dubbo
    name: dubbo
    ## dubbo 协议端口 （-1 表示自增端口，从20880开始）
    port: -1
  cloud:
    ## 订阅服务
    subscribed-services: bd-third, bd-system, bd-member, bd-sale, bd-bonus, bd-scm, bd-report
  scan:
    # dubbo 服务扫描包（开启之后才会对外提供服务）
    base-packages: com.hzs.third

#################### 三方对接相关信息 ####################

## 汇付新支付
huifu:
  # 系统号
  sysId: 6666000160266050
  # 产品号
  procutId: PAYUN
  # 商户私钥
  rsaPrivateKey: MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCZwFNoJk7F/u3EZnWuu4HF3iLDTJZaqxI1lUjlLtAPPPku8DYCyP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F587IDGKNq6s+2s1zNcTB/qryciO+Qx8iXvjOiTFDLDE5zRADqD3i6IotZY8UDONPoYvb9ygaQIMLWmwF5F0+R7cVerJQcJm4FKjl/XrVAoGAdPOViNrqPxEkPZ6vbsTNsX52FnBJ1PaF0x5hbViZcDbKci2qPgIgPZLF1Uf8tTLgsUMAdrU1/pyDFP5reOskv0cOBVdJekPC4Kh7oLJYfLrCKu+hHTfqs6ujNau7aQ4pA9Mb3R1itAR12cwKnwAQ9sefEpXg1I+cWVUbCQYudf0CgYBR0Al+449zfCTlmQvr1WcBxOy1XC5YNT6Gbl1oUczsDi/xRwD5uuahoRv6Ur6lM5jj00vFMD1MwafSCIXhrkOf8WvXdNy7RmvFfdYc0OK8xiks/X4Z+A0N8qQAj3336FUw/0/wBJ3kOKjaU8uSO7FlssQ9qT8jZaI8l/mH9q52QQ==
  # 公钥
  rsaPublicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxXqMxexubBwqYAYXQnNBLdJK9+U4YFr9tDsQUqtyn/YBrRfLV2FHIZbBTr0jUnYUdLbfmmM0nxIHrQAhQqNeDQ/k944ChfE2pwdO70N4xHzqCmQpk71tScqHhC7A/1KACY1SY5L0ECAxHF6otuJBoAHBz9FjQsDs0ugk8hTSDKZvFHg31CDmhI7Kr/tqAvZW+6sY8w6B8AqORE8FsVQvZF51vHZhh4Hutjnd4azyCX6en5Czdvd1Iof0Z6K8lOZmuiohld/Ey9XK7ZfFzJ3QJpIyWP3ZhedIPF7Wq9hniF/CQukiCSjR769r3TR0n/vtlwzFRdbuSy/IJKhsxbXiOwIDAQAB
  # 支付回调地址
  notifyUrl: https://p.qdhzs.cn/inter-api/pay/huifu/notify
  # 授权之后跳转地址
  redirectUri: https://p.qdhzs.cn/#/pages/nhfPay
  ## 公众号appId
  publicAppId: wx0295c5847fbef288
  ## 公众号appSecret
  publicAppSecret: 6e0e7d5ac7ab78cb4c2d88a2cb97b92f
  ## 小程序appId
  appletAppId: wx14f73dfa3367b398
  ## 小程序appSecret
  appletAppSecret: ebf41db190b6f4c469c13c67266859e8

## 短信配置
sms:
  ## 凌凯国内短信配置
  corpId: CQJT001019
  pwd: 3FDA8B
  url: https://sdk3.028lk.com:9988/BatchSend2.aspx
  ## 是否发送短信（true发送，false不发送）
  enable: false
  ## 凌凯国际短信配置
  corpIdInter: CQJT000992
  pwdInter: 1263BA
  urlInter: https://sdk3.028lk.com:9988/IntlSend.aspx
  ## 阿里短信
  aliAccessKeyId: LTAI5tSjEQgSVXVrVvDEkcNh
  aliAccessKeySecret: do1zRINS8MZ78UG6Vsa3SglZ3jPcOS
  aliEndpoint: dysmsapi.aliyuncs.com
  aliSign: 青岛海之圣生物工程

# 日志配置
logging:
  level:
    com.hzs: debug
    org.springframework: warn

## 快递地址识别
delivery:
  appKey: 204784177
  appSecret: KrTbnrAV01j7bIQ5mpr3W0FB73KvjaG8
  appCode: 7390ccb8230f4e74a1b0ba31ec6f1419
