#数据源配置
spring:
  redis:
    ##redis 单机环境配置
    ##将docker脚本部署的redis服务映射为宿主机ip
    ##生产环境推荐使用阿里云高可用redis服务并设置密码
    host: 127.0.0.1
    port: 6379
    password: gzzhkj9988$
    database: 2
    ssl: false
    ##redis 集群环境配置
    #cluster:
    #  nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
    #  commandTimeout: 5000
  datasource:
    url: jdbc:mysql://rm-2vc42e8m1uecvg481uo.mysql.cn-chengdu.rds.aliyuncs.com:3306/t-test?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
    username: gzzhkj
    password: gzzhkj9988$

#第三方登陆
social:
  enabled: true
  domain: http://wine.gzzzyd.com

#oss默认配置
oss:
  enabled: true
  name: alioss
  tenant-mode: true
  endpoint: https://oss-cn-chengdu.aliyuncs.com
  access-key: LTAI4GCNRML2EpFZxBWakWSc
  secret-key: 8u1spjDrT1hD2OaN9DS8NasSHipDfO
  bucket-name: tbladex
#blade配置
blade:
  #分布式锁配置
  lock:
    ##是否启用分布式锁
    enabled: false
    ##将docker脚本部署的redis服务映射为宿主机ip
    ##生产环境推荐使用阿里云高可用redis服务并设置密码
    address: redis://127.0.0.1:6379
    password: 123456
  #本地文件上传
  file:
    remote-mode: true
    upload-domain: https://wine.gzzzyd.com
    remote-path: /usr/local/nginx/dist
wxpay:
  appId: wx3064b51f7bace3c8
  appSecret: 89e3e5afd8623772bf5a56f460af839a
  mchId: 1616233610
  partnerKey: 89e3e5afd8623772bf5a56f460af839a
  certPath: /usr/local/liquor/cert/apiclient_cert.pem
  domain: http://wine.gzzzyd.com
v3:
  appId: wx88e2204fd4e9fb3a
  appIdxcx: wx8b2b4e2abfd0744f
  appSecretxcx: 1177a28d4466c1a82ed71c5d7f9077e3
  keyPath: /usr/local/liquor/cert/apiclient_key.pem
  certPath: /usr/local/liquor/cert/apiclient_cert.pem
  certP12Path: /usr/local/liquor/cert/apiclient_cert.p12
  platformCertPath: /usr/local/liquor/cert/wx_cert.pem
  mchId: 1633748877
  apiKey3: QjvdRqcrV4Km76vFgoDsudZr6dEpKVzm
  apiKey: 89e3e5afd8623772bf5a56f460af839a
  domain: http://wine.gzzzyd.com/api
v4:
  certPath: /usr/local/liquor/cert/53463_.key.p8
  merId: 53463
alipay:
  fileRootPath: /usr/local/liquor/alipay03/
  fileCertPath: /usr/local/liquor/cert/
  ijpay:
    appId: 2021003130661036
    privateKey: MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCDtMTdZe9/zvYKqhTwrdjpMHvqX/VUjLBDvo8qXOoQtj5mPpAMlVaCQ9MSOjyTTrzDQVisy3lnFdj7zd0ad/TmyGj1h8xZcn31RHqw+Qje7Te9JbQl3uriMr4zK92PUSS6huXGDLb/0fCKaY5B9NkoEFoZOg3sMk4gPlVsbG1S3MGxb4MISLbtqtEVARxkARM+1nQkrjCt4QJOCJeiOwRP3h6hu95QGpsEZpBs0PyKsDFcsQyCMJOT95PkGW1tP3JU7NEPsIvkDfYHZKO4y+00rg3KoCpottBtwm6zkVk2YzoKwPkzkFbAdaTwomRNxmUh1utoiTKt6QXYH2rwLnMDAgMBAAECggEAcCHWvjyMVP9qoRe/bk5E7/xUc+4w3ERPyc2S7Flg+st+guRfFieLGKsQKGOmsTAHLCIVkkBGY0rJi1DxHxjkTBxyqCBvDfSZYtljsArGz62dmA9iuh95UQ4suzpsjxlhsOEq/ZxTragbKGzILkV9IUwSuYmg0ujddTw81GvYBAQvzzozRsrybmt4HRLg3B0x0H8qPJEVL3IuumigXguNrMLcLrgCmiw1/bKC/K7oS7WoyM9uHmAIOpqCuw5+kSFaOOOHTgwCq+Q4ExjqpOr6mTCJ9YGCczRya/S5gnwXGcfFSY0LrAHAKAvTzg4LN3C1x02FHRgVr9cxCf2gy0JOyQKBgQDGmelKx5QO5nXW3u0CR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zBsW+DCEi27arRFQEcZAETPtZ0JK4wreECTgiXojsET94eobveUBqbBGaQbND8irAxXLEMgjCTk/eT5BltbT9yVOzRD7CL5A32B2SjuMvtNK4NyqAqaLbQbcJus5FZNmM6CsD5M5BWwHWk8KJkTcZlIdbraIkyrekF2B9q8C5zAwIDAQAB
    appCertPath: /usr/local/liquor/alipay03/appCertPublicKey_2021003130661036.crt
    aliPayCertPath: /usr/local/liquor/alipay03/alipayCertPublicKey_RSA2.crt
    aliPayRootCertPath: /usr/local/liquor/alipay03/alipayRootCert.crt
    serverUrl: http://openpi.alipay.com/ga
    domain: http://wine.gzzzyd.com
  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+LeIpQubD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qb85ZAYnjTFD0OIc4nxoznle7yMKIcds1xH1vmWD82R96MVWCgHudHJ8eOBcbSabZUIWM2lDWYgivdI27/OuNN03Ysme5GEAaUSqLX+JX85jMgaEEf3ZTSW5wV0p/TTXQlbZwg1rweiRGzkqhPQJVpyM/JlhzpWmBkrzZ0nBiUYg5/ypoT9vtY4bwbn2cXFmJ0ErfZsBcoiLi0TeUVYZQXFQu90BeOcJxmVeudFSTnLYPe/Cf4tEtulFR0u3bzB7S3+1fGz38u2uiG6BJd3RheWXg24b68OEi5Jff5ZjLEMX2ItQIDAQAB
    # 商户支付宝账号（平台支付宝账号）
    payee-user-id: 2088441218763712
    # 回调域名
    domain: http://wine.gzzzyd.com
    app-cert-path: ${alipay.fileRootPath}appCertPublicKey_2021003130661036.crt
    ali-pay-cert-path: ${alipay.fileRootPath}alipayCertPublicKey_RSA2.crt
    ali-pay-root-cert-path: ${alipay.fileRootPath}alipayRootCert.crt
  zhzx:
    fileRootPath: /usr/local/liquor/zhzx_alipay/
    dev: false #默认false,为true表示使用沙箱环境
    sign-type: RSA2 #签名算法
    app-id: 2021003155678893 #应用ID
    #应用私钥
    private-key: MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDFUIK19JwmEljxNTojN3YUj2tWaY6GoCeSWfTwRKLsR9GsZcnSRKXvWnFYrJzUggv74D/4smHIPoV5hCMGQJcn8DFBUJZ/nZ+F7RVN1FhGZ4PYTKtsQR8OKxRACTBVMhVI9iOPK8C+sTZD3XfXmBG6Y99T6YeU82rWRq4aZaLn8nRTMApOHHIA6jlegYDL43pc3X8MjR2YPkTorc7SCK3mW/26xBGre40/QxODzrirAxPzo/dLeE+hO1exfXatZQFLsu1GYXkrDB2LfGvV6hYHtOqeDgoRmdmt+YMayjv+GzYZ6nA13hh9hdEgnf5niJacJ/f+QlC8Lzt3gKlsu1cTAgMBAAECggEAG4rNdBCc60OMXr8LSncnaF9MoFdDqc8ZNviPlCpAg7LStbnPniYu82Ywh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C0jfXxB/jDc1Q1kMZ2iX8ZYkAlNAhepqkmDi3Jz0jOFaYS/5PvN6Mvg307ExIe5ar+M95eaimRZjNW8rguFv9S8tbpoD
    #支付宝公钥
    alipay-public-key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxVCCtfScJhJY8TU6Izd2FI9rVmmOhqAnkln08ESi7EfRrGXJ0kSl71pxWKyc1IIL++A/+LJhyD6FeYQjBkCXJ/AxQVCWf52fhe0VTdRYRmeD2EyrbEEfDisUQAkwVTIVSPYjjyvAvrE2Q91315gRumPfU+mHlPNq1kauGmWi5/J0UzAKThxyAOo5XoGAy+N6XN1/DI0dmD5E6K3O0git5lv9usQRq3uNP0MTg864qwMT86P3S3hPoTtXsX12rWUBS7LtRmF5Kwwdi3xr1eoWB7Tqng4KEZnZrfmDGso7/hs2GepwNd4YfYXRIJ3+Z4iWnCf3/kJQvC87d4CpbLtXEwIDAQAB
    # 商户支付宝账号（平台支付宝账号）
    payee-user-id: 2088541242921565
    # 回调域名
    domain: http://wine.gzzzyd.com
    app-cert-path: ${alipay.zhzx.fileRootPath}appCertPublicKey_2021003155678893.crt
    ali-pay-cert-path: ${alipay.zhzx.fileRootPath}alipayCertPublicKey_RSA2.crt
    ali-pay-root-cert-path: ${alipay.zhzx.fileRootPath}alipayRootCert.crt

scheduling:
  taskTime:
    consign: 1
    grant: 10

ticket:
  check:
    phone: 18185457175

apk:
  savePath: /opt/app/download/
  downloadUrl: http://wine.gzzzyd.com/download/
  logPath: /opt/app/log/


weipingshang:
  ## 渠道号
  channelNo: ZHONGHONGKJ
  key: 63e4edcbea3de99634c757a6d24e04a3
  server: https://uat.api.weipinshang.net/
  orderNoticeUrl: http://wine.gzzzyd.com/api/sc/wps/orderNotice

  ## 快递100配置
kuaidi100:
  key: TGFcZOVv9920
  customer: FA418CA5D4A8E28F75DAA4B85E432D33
  ## 查询快递100的间隔时间（分钟），30分钟内连续查询多次会造成锁单。
  intervalTime: 30
  # 订阅回调接口
  callbackurl: http://wine.gzzzyd.com/api/delivery/callback?orderNo=


ysb:
  #  商户编号
  accountId: 2120220713141919001
  #  本地私钥路径
  privateKeyPath: ${alipay.fileCertPath}ysb.pfx
  #  商户公钥路径
  pubilcKeyPath: ${alipay.fileCertPath}yin.cer
  #  第三方平台公钥路径
  retunPublicKeyPath: ${alipay.fileCertPath}ysb.pfx
  #  获取私钥密码
  privatePassword: jian8905170


linkedUrl:
  url: http://wine.gzzzyd.com/test/

http:
  # 从连接池获取连接的超时时间
  connectionRequestTimeout: 3000
  # 建立连接的超时时间
  connectTimeout: 3000
  # 请求的超时时间
  socketTimeout: 20000
  # 最大的连接数
  maxTotal: 10
  # 每个路由最大连接数
  defaultMaxPerRoute: 5
