#数据源配置
spring:
  redis:
    ##redis 单机环境配置
    host: localhost
    port: 6379
#    password: gzzhkj9988$
    database: 0
#    ssl: false
    ##redis 集群环境配置
    #cluster:
    #  nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
    #  commandTimeout: 5000
    timeout: 50000
  datasource:
    url: jdbc:mysql://192.168.1.74:3306/custom_wine?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true&autoReconnect=true
    username: root
    password: root_123
  jpa:
    hibernate:
      ddl-auto: none
    database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
    database: mysql
    show-sql: true

#第三方登陆
social:
  enabled: true
  domain: http://127.0.0.1:1888

#blade配置
blade:
  #分布式锁配置
  lock:
    ##是否启用分布式锁
    enabled: false
    ##redis服务地址
    address: redis://127.0.0.1:6379
  #本地文件上传
  file:
    remote-mode: true
    upload-domain: http://localhost:8999
    remote-path: /usr/share/nginx/html

#oss默认配置
oss:
  enabled: true
  name: minio
  tenant-mode: true
  endpoint:  http://47.109.28.56:9000
  access-key: admin
  secret-key: 12345678
  bucket-name: bladex-dev

wxpay:
  v3:
    fileCertPath: D:/cert/yj/
    appId: wx9e86b549db43d624
    appIdxcx: wx8b2b4e2abfd0744f
    appSecretxcx: 1b851d6209c368189405a2e8313fa9fe
    keyPath: ${wxpay.v3.fileCertPath}apiclient_key.pem
    certPath: ${wxpay.v3.fileCertPath}apiclient_cert.pem
    certP12Path: ${wxpay.v3.fileCertPath}cert/apiclient_cert.p12
    platformCertPath: ${wxpay.v3.fileCertPath}wx_cert.pem
    mchId: 1646326419
    apiKey3: M2AGHw8hBb4rfysASNKxomNigNNEDxN5
    apiKey: 89e3e5afd8623772bf5a56f460af839a
    domain: http://www.gzzzyd.com/api

alipay:
  fileRootPath: D:\IdeaProjects\bladex-boot\src\main\resources\alipay\
  sdk:
    dev: false #默认false,为true表示使用沙箱环境
    sign-type: RSA2 #签名算法
    app-id: 2021003130661036 #应用ID
    #应用私钥
    private-key: MIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQC74k1rTHNOpgx3fPahU083hcmgsTjVEX1mYv/dqpvzlkBieNMUPQ4hzifGjOeV7vIwohx2zXEfW+ZYPzZH3oxVYKAe50cnx44FxtJptlQhYzaUNZiCK90jbv86403TdiyZ7kYQBpRKotf4lfzmMyBoQR/dlNJbnBXSn9NNdCVtnCDWvB6JEbOSqE9AlWnIz8mWHOlaYGSvNnScGJRiDn/KmhP2+1jhvBufZxcWYnQSt9mwFyiIuLRN5RVhlBcVC73QF45wnGZV650VJOctg978J/i0S26UVHS7dvMHtLf7V8bPfy7a6IboEl3dGF5ZeDbhvrw4SLkl9/lmMsQxfYi1AgMBAAECggEBAKv8CLBaqAZre2f5bO3aC96gSiQddg+cVfTeVKc9oEoG1OMPBPE2vnP1eXWH0AnwU6RvEK0zfASfpChNnMuHDWCt9YS0Yu8n/XqOOFfqPfLeFbzvnq4xptjjpyDpp3kVaNhzQ5Ex5Ja5oAb+jSTP0i98xcWYkEKpi1RlVxBEbGp6+EVZLA7+QwWZ8H+RYTWs/wHSCovFD3c5HhmzOzfyY0laXwXpoeK9NovxtRyKRQME10ZuUi2+LeIpQubDwuGBcQxUKe/ibzt0IYMLdPKsBl9ti6CR2RuUBPvNKk+2bnDCIcpP1G0r9Vx5+AsrdNv1XrrYCxv8W3yFPyiNz68FwqECgYEA8SbmsJT9I0CEcuyMKVabBppnpGwOt8FwoJxc0kZJiOvnqoGV9EtHruLtzokJCzSrgoUkGrpqRNgACt1gO2Vf8FTswnjCNlbsBn0nguvVBOzbnUk5cStHbWtvKBzyCVYzudTEdEPqsMmvnwqTnyG5Ggh95mvb2y+Jg1RiiQWL1wkCgYEAx3PHK7LSxB42HaMhlbpeoSplf7oIjd/YlxAGS65xUvoAKAogQCf4Mq3I3CLJ6Rpc6h6uweG2ax+dB67M3kM1JMC2/3ue8afNjvnPNfs5ws89+MZSAVAovgkCTwVEDJoRqRjQx3baUlRg6IJSJ1Rpz4C3VY2UIf4XqmIjFYsSw00CgYEA0yE94+ftYInB7GRRqnearsNMblX05MjFdLixQ6AqDWiMoWlnAkVOcz1W+vZbJqZsao9qtsPy+mcqUljTQe1Ve7K+vty/HJgpeNzmVOdozzEYbbKISh6cIJ5o6XO+LJJ+Ivq3LRuxRCqwScwWxsHdr38zyyMvj80k1ghxZImojxECgYEAteXwGflPYM7QubzB72R10vPwd0k5bfJc/H//zdu8vFkF9X4upXQOVmHJkoIjtHR3kokDBg0Mqau+MXiInJecivU6r8uVTHyl6qQHBwskRXdt5EkyFsJ9NbrPoTODOR71xkq8dXz+ZSFQ9BuOQxIoIbcY/GxPUaUC/j/cEVSxeu0CgYEAzfXhTUAv6Lv+dYexV9wQIrU6yL16VwHTgiCH+9fC1pf7LpQww+QVcGp+SDRmSdPo7XarbAgOw3npLlFmm7oAXijNRXunbVRx1cDGePXLEk48o1Y54K1NwN2+rebct7WhxD7rgFBbGbS5i5QBBf7dSd2+lTBmWKETODMhbs1MvD8=
    #支付宝公钥
    alipay-public-key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu+JNa0xzTqYMd3z2oVNPN4XJoLE41RF9ZmL/3aqb85ZAYnjTFD0OIc4nxoznle7yMKIcds1xH1vmWD82R96MVWCgHudHJ8eOBcbSabZUIWM2lDWYgivdI27/OuNN03Ysme5GEAaUSqLX+JX85jMgaEEf3ZTSW5wV0p/TTXQlbZwg1rweiRGzkqhPQJVpyM/JlhzpWmBkrzZ0nBiUYg5/ypoT9vtY4bwbn2cXFmJ0ErfZsBcoiLi0TeUVYZQXFQu90BeOcJxmVeudFSTnLYPe/Cf4tEtulFR0u3bzB7S3+1fGz38u2uiG6BJd3RheWXg24b68OEi5Jff5ZjLEMX2ItQIDAQAB
    # 商户支付宝账号（平台支付宝账号）
    payee-user-id: 2088441218763712
    # 回调域名
    domain: http://wine.gzzzyd.com/cw-api
    app-cert-path: ${alipay.fileRootPath}appCertPublicKey_2021003125657245.crt
    ali-pay-cert-path: ${alipay.fileRootPath}alipayCertPublicKey_RSA2.crt
    ali-pay-root-cert-path: ${alipay.fileRootPath}alipayRootCert.crt


apk:
  savePath: /Users/pangqijun/Downloads/store/
  downloadUrl: http://www.gzzhsckj.com/download/
  logPath: /Users/pangqijun/Downloads/store/apklog/

