application-test.yml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. #数据源配置
  2. spring:
  3. redis:
  4. ##redis 单机环境配置
  5. ##将docker脚本部署的redis服务映射为宿主机ip
  6. ##生产环境推荐使用阿里云高可用redis服务并设置密码
  7. host: 127.0.0.1
  8. port: 6379
  9. password: gzzhkj9988$
  10. database: 2
  11. ssl: false
  12. ##redis 集群环境配置
  13. #cluster:
  14. # nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
  15. # commandTimeout: 5000
  16. datasource:
  17. 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
  18. username: gzzhkj
  19. password: gzzhkj9988$
  20. #第三方登陆
  21. social:
  22. enabled: true
  23. domain: http://wine.gzzzyd.com
  24. #oss默认配置
  25. oss:
  26. enabled: true
  27. name: alioss
  28. tenant-mode: true
  29. endpoint: https://oss-cn-chengdu.aliyuncs.com
  30. access-key: LTAI4GCNRML2EpFZxBWakWSc
  31. secret-key: 8u1spjDrT1hD2OaN9DS8NasSHipDfO
  32. bucket-name: tbladex
  33. #blade配置
  34. blade:
  35. #分布式锁配置
  36. lock:
  37. ##是否启用分布式锁
  38. enabled: false
  39. ##将docker脚本部署的redis服务映射为宿主机ip
  40. ##生产环境推荐使用阿里云高可用redis服务并设置密码
  41. address: redis://127.0.0.1:6379
  42. password: 123456
  43. #本地文件上传
  44. file:
  45. remote-mode: true
  46. upload-domain: https://wine.gzzzyd.com
  47. remote-path: /usr/local/nginx/dist
  48. wxpay:
  49. appId: wx3064b51f7bace3c8
  50. appSecret: 89e3e5afd8623772bf5a56f460af839a
  51. mchId: 1616233610
  52. partnerKey: 89e3e5afd8623772bf5a56f460af839a
  53. certPath: /usr/local/liquor/cert/apiclient_cert.pem
  54. domain: http://wine.gzzzyd.com
  55. v3:
  56. appId: wx88e2204fd4e9fb3a
  57. appIdxcx: wx8b2b4e2abfd0744f
  58. appSecretxcx: 1177a28d4466c1a82ed71c5d7f9077e3
  59. keyPath: /usr/local/liquor/cert/apiclient_key.pem
  60. certPath: /usr/local/liquor/cert/apiclient_cert.pem
  61. certP12Path: /usr/local/liquor/cert/apiclient_cert.p12
  62. platformCertPath: /usr/local/liquor/cert/wx_cert.pem
  63. mchId: 1633748877
  64. apiKey3: QjvdRqcrV4Km76vFgoDsudZr6dEpKVzm
  65. apiKey: 89e3e5afd8623772bf5a56f460af839a
  66. domain: http://wine.gzzzyd.com/api
  67. v4:
  68. certPath: /usr/local/liquor/cert/53463_.key.p8
  69. merId: 53463
  70. alipay:
  71. fileRootPath: /usr/local/liquor/alipay03/
  72. fileCertPath: /usr/local/liquor/cert/
  73. ijpay:
  74. appId: 2021003130661036
  75. privateKey: MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCDtMTdZe9/zvYKqhTwrdjpMHvqX/VUjLBDvo8qXOoQtj5mPpAMlVaCQ9MSOjyTTrzDQVisy3lnFdj7zd0ad/TmyGj1h8xZcn31RHqw+Qje7Te9JbQl3uriMr4zK92PUSS6huXGDLb/0fCKaY5B9NkoEFoZOg3sMk4gPlVsbG1S3MGxb4MISLbtqtEVARxkARM+1nQkrjCt4QJOCJeiOwRP3h6hu95QGpsEZpBs0PyKsDFcsQyCMJOT95PkGW1tP3JU7NEPsIvkDfYHZKO4y+00rg3KoCpottBtwm6zkVk2YzoKwPkzkFbAdaTwomRNxmUh1utoiTKt6QXYH2rwLnMDAgMBAAECggEAcCHWvjyMVP9qoRe/bk5E7/xUc+4w3ERPyc2S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olGMUT9DkriPpd/dKcoHIxhmOZqXAIm4ffQYbmo827YaOa16btkJGbkkR66iab84dCRlhjgZvneyhaVvUHrG9a13d759JhtuKk6W0nUOTskhJVTQ==
  76. publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAg7TE3WXvf872CqoU8K3Y6TB76l/1VIywQ76PKlzqELY+Zj6QDJVWgkPTEjo8k068w0FYrMt5ZxXY+83dGnf05sho9YfMWXJ99UR6sPkI3u03vSW0Jd7q4jK+Myvdj1Ekuoblxgy2/9HwimmOQfTZKBBaGToN7DJOID5VbGxtUtzBsW+DCEi27arRFQEcZAETPtZ0JK4wreECTgiXojsET94eobveUBqbBGaQbND8irAxXLEMgjCTk/eT5BltbT9yVOzRD7CL5A32B2SjuMvtNK4NyqAqaLbQbcJus5FZNmM6CsD5M5BWwHWk8KJkTcZlIdbraIkyrekF2B9q8C5zAwIDAQAB
  77. appCertPath: /usr/local/liquor/alipay03/appCertPublicKey_2021003130661036.crt
  78. aliPayCertPath: /usr/local/liquor/alipay03/alipayCertPublicKey_RSA2.crt
  79. aliPayRootCertPath: /usr/local/liquor/alipay03/alipayRootCert.crt
  80. serverUrl: http://openpi.alipay.com/ga
  81. domain: http://wine.gzzzyd.com
  82. sdk:
  83. dev: false #默认false,为true表示使用沙箱环境
  84. sign-type: RSA2 #签名算法
  85. app-id: 2021003130661036 #应用ID
  86. #应用私钥
  87. private-key: MIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQC74k1rTHNOpgx3fPahU083hcmgsTjVEX1mYv/dqpvzlkBieNMUPQ4hzifGjOeV7vIwohx2zXEfW+ZYPzZH3oxVYKAe50cnx44FxtJptlQhYzaUNZiCK90jbv86403TdiyZ7kYQBpRKotf4lfzmMyBoQR/dlNJbnBXSn9NNdCVtnCDWvB6JEbOSqE9AlWnIz8mWHOlaYGSvNnScGJRiDn/KmhP2+1jhvBufZxcWYnQSt9mwFyiIuLRN5RVhlBcV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RXdt5EkyFsJ9NbrPoTODOR71xkq8dXz+ZSFQ9BuOQxIoIbcY/GxPUaUC/j/cEVSxeu0CgYEAzfXhTUAv6Lv+dYexV9wQIrU6yL16VwHTgiCH+9fC1pf7LpQww+QVcGp+SDRmSdPo7XarbAgOw3npLlFmm7oAXijNRXunbVRx1cDGePXLEk48o1Y54K1NwN2+rebct7WhxD7rgFBbGbS5i5QBBf7dSd2+lTBmWKETODMhbs1MvD8=
  88. #支付宝公钥
  89. alipay-public-key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu+JNa0xzTqYMd3z2oVNPN4XJoLE41RF9ZmL/3aqb85ZAYnjTFD0OIc4nxoznle7yMKIcds1xH1vmWD82R96MVWCgHudHJ8eOBcbSabZUIWM2lDWYgivdI27/OuNN03Ysme5GEAaUSqLX+JX85jMgaEEf3ZTSW5wV0p/TTXQlbZwg1rweiRGzkqhPQJVpyM/JlhzpWmBkrzZ0nBiUYg5/ypoT9vtY4bwbn2cXFmJ0ErfZsBcoiLi0TeUVYZQXFQu90BeOcJxmVeudFSTnLYPe/Cf4tEtulFR0u3bzB7S3+1fGz38u2uiG6BJd3RheWXg24b68OEi5Jff5ZjLEMX2ItQIDAQAB
  90. # 商户支付宝账号(平台支付宝账号)
  91. payee-user-id: 2088441218763712
  92. # 回调域名
  93. domain: http://wine.gzzzyd.com
  94. app-cert-path: ${alipay.fileRootPath}appCertPublicKey_2021003130661036.crt
  95. ali-pay-cert-path: ${alipay.fileRootPath}alipayCertPublicKey_RSA2.crt
  96. ali-pay-root-cert-path: ${alipay.fileRootPath}alipayRootCert.crt
  97. zhzx:
  98. fileRootPath: /usr/local/liquor/zhzx_alipay/
  99. dev: false #默认false,为true表示使用沙箱环境
  100. sign-type: RSA2 #签名算法
  101. app-id: 2021003155678893 #应用ID
  102. #应用私钥
  103. private-key: MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDFUIK19JwmEljxNTojN3YUj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pumzEHrMVN7ylvV6UyJ74bumrMGQy9kSSEHvT094nA+jVH8WqwTDjQn6gsejur1b+iWvZuyg2q1hXJDterFSMesOWrzjX5T62VPdl9L5c8jZBzI8t02GtD4ia2B5FpJTVD4QKBgQC7YxGtcCVw+foadNX3v6bMQ4b9axlPRR9DEnTr4z6kKrWLBl+tWhiaC3qy9TkeO2SG+OnEdxmp2jI3fCdvriHeeOUa3TE8JFZtBLMCK83YbLv6IZCa5qdME4a2wwsJVir0CkKuP/ODCA9MkKtsB0eROHaJuw4tyO9qAiysHIfWLQKBgCtPQa4Kwbk69Tug8l43iO2/nIzEnL+6IiLbMab6B91Kznsek0lmZW0rndjLLO+Pw1+TVZrxjGcnoCvlC0jfXxB/jDc1Q1kMZ2iX8ZYkAlNAhepqkmDi3Jz0jOFaYS/5PvN6Mvg307ExIe5ar+M95eaimRZjNW8rguFv9S8tbpoD
  104. #支付宝公钥
  105. alipay-public-key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxVCCtfScJhJY8TU6Izd2FI9rVmmOhqAnkln08ESi7EfRrGXJ0kSl71pxWKyc1IIL++A/+LJhyD6FeYQjBkCXJ/AxQVCWf52fhe0VTdRYRmeD2EyrbEEfDisUQAkwVTIVSPYjjyvAvrE2Q91315gRumPfU+mHlPNq1kauGmWi5/J0UzAKThxyAOo5XoGAy+N6XN1/DI0dmD5E6K3O0git5lv9usQRq3uNP0MTg864qwMT86P3S3hPoTtXsX12rWUBS7LtRmF5Kwwdi3xr1eoWB7Tqng4KEZnZrfmDGso7/hs2GepwNd4YfYXRIJ3+Z4iWnCf3/kJQvC87d4CpbLtXEwIDAQAB
  106. # 商户支付宝账号(平台支付宝账号)
  107. payee-user-id: 2088541242921565
  108. # 回调域名
  109. domain: http://wine.gzzzyd.com
  110. app-cert-path: ${alipay.zhzx.fileRootPath}appCertPublicKey_2021003155678893.crt
  111. ali-pay-cert-path: ${alipay.zhzx.fileRootPath}alipayCertPublicKey_RSA2.crt
  112. ali-pay-root-cert-path: ${alipay.zhzx.fileRootPath}alipayRootCert.crt
  113. scheduling:
  114. taskTime:
  115. consign: 1
  116. grant: 10
  117. ticket:
  118. check:
  119. phone: 18185457175
  120. apk:
  121. savePath: /opt/app/download/
  122. downloadUrl: http://wine.gzzzyd.com/download/
  123. logPath: /opt/app/log/
  124. weipingshang:
  125. ## 渠道号
  126. channelNo: ZHONGHONGKJ
  127. key: 63e4edcbea3de99634c757a6d24e04a3
  128. server: https://uat.api.weipinshang.net/
  129. orderNoticeUrl: http://wine.gzzzyd.com/api/sc/wps/orderNotice
  130. ## 快递100配置
  131. kuaidi100:
  132. key: TGFcZOVv9920
  133. customer: FA418CA5D4A8E28F75DAA4B85E432D33
  134. ## 查询快递100的间隔时间(分钟),30分钟内连续查询多次会造成锁单。
  135. intervalTime: 30
  136. # 订阅回调接口
  137. callbackurl: http://wine.gzzzyd.com/api/delivery/callback?orderNo=
  138. ysb:
  139. # 商户编号
  140. accountId: 2120220713141919001
  141. # 本地私钥路径
  142. privateKeyPath: ${alipay.fileCertPath}ysb.pfx
  143. # 商户公钥路径
  144. pubilcKeyPath: ${alipay.fileCertPath}yin.cer
  145. # 第三方平台公钥路径
  146. retunPublicKeyPath: ${alipay.fileCertPath}ysb.pfx
  147. # 获取私钥密码
  148. privatePassword: jian8905170
  149. linkedUrl:
  150. url: http://wine.gzzzyd.com/test/
  151. http:
  152. # 从连接池获取连接的超时时间
  153. connectionRequestTimeout: 3000
  154. # 建立连接的超时时间
  155. connectTimeout: 3000
  156. # 请求的超时时间
  157. socketTimeout: 20000
  158. # 最大的连接数
  159. maxTotal: 10
  160. # 每个路由最大连接数
  161. defaultMaxPerRoute: 5