#数据源配置
spring:
  redis:
    ##redis 单机环境配置
    ##将docker脚本部署的redis服务映射为宿主机ip
    ##生产环境推荐使用阿里云高可用redis服务并设置密码
    host: 192.168.1.74
    port: 6379
    password: 123456789
    database: 8
    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://192.168.1.74:3306/groupon?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
    username: root
    password: root_123

#第三方登陆
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:
  fileRootPath: /data/cert/wx/
  v3:
    appId: wxf6dd733a0a8f0619
    appIdxcx: wxf6dd733a0a8f0619
    appSecretxcx: cae93dde9b616dba74b8531f9d4cb7dc
    keyPath: ${wxpay.fileRootPath}apiclient_key.pem
    certPath: ${wxpay.fileRootPath}apiclient_cert.pem
    certP12Path: ${wxpay.fileRootPath}cert/apiclient_cert.p12
    platformCertPath: ${wxpay.fileRootPath}wx_cert.pem
    mchId: 1646838858
    apiKey3: Dg0naaFoDj6vcd47n5DkM6DVkLKDr91B
    apiKey: 89e3e5afd8623772bf5a56f460af839a
    domain: https://test.changgengkeji.com/api

alipay:
  fileRootPath: /data/cert/alipay/
  fileCertPath: /usr/local/liquor/cert/
  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+Jg1RiiQWL1wkCgYEA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RheWXg24b68OEi5Jff5ZjLEMX2ItQIDAQAB
    # 商户支付宝账号（平台支付宝账号）
    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


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


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



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

captcha:
  length: 1
