application-core.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. litemall:
  2. # 开发者应该设置成自己的wx相关信息
  3. wx:
  4. app-id: wx231b9f009b9753fe
  5. app-secret: 19073630748e10f0b4683097e02f9acc
  6. mch-id: 111111
  7. mch-key: xxxxxx
  8. notify-url: http://www.example.com/wx/order/pay-notify
  9. # 商户证书文件路径
  10. # 请参考“商户证书”一节 https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=4_3
  11. key-path: xxxxx
  12. # 消息推送配置token
  13. token:
  14. # 消息推送配置AesKey
  15. aes-key:
  16. #通知相关配置
  17. notify:
  18. mail:
  19. # 邮件通知配置,邮箱一般用于接收业务通知例如收到新的订单,sendto 定义邮件接收者,通常为商城运营人员
  20. enable: false
  21. host: smtp.exmail.qq.com
  22. username: ex@ex.com.cn
  23. password: XXXXXXXXXXXXX
  24. sendfrom: ex@ex.com.cn
  25. sendto: ex@qq.com
  26. port: 465
  27. # 短消息模版通知配置
  28. # 短信息用于通知客户,例如发货短信通知,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值
  29. sms:
  30. enable: false
  31. # 如果是腾讯云短信,则设置active的值tencent
  32. # 如果是阿里云短信,则设置active的值aliyun
  33. active: tencent
  34. sign: litemall
  35. template:
  36. - name: paySucceed
  37. templateId: 156349
  38. - name: captcha
  39. templateId: 156433
  40. - name: ship
  41. templateId: 158002
  42. - name: refund
  43. templateId: 159447
  44. tencent:
  45. appid: 111111111
  46. appkey: xxxxxxxxxxxxxx
  47. aliyun:
  48. regionId: xxx
  49. accessKeyId: xxx
  50. accessKeySecret: xxx
  51. # 快鸟物流查询配置
  52. express:
  53. enable: false
  54. appId: "XXXXXXXXX"
  55. appKey: "XXXXXXXXXXXXXXXXXXXXXXXXX"
  56. vendors:
  57. - code: "ZTO"
  58. name: "中通快递"
  59. - code: "YTO"
  60. name: "圆通速递"
  61. - code: "YD"
  62. name: "韵达速递"
  63. - code: "YZPY"
  64. name: "邮政快递包裹"
  65. - code: "EMS"
  66. name: "EMS"
  67. - code: "DBL"
  68. name: "德邦快递"
  69. - code: "FAST"
  70. name: "快捷快递"
  71. - code: "ZJS"
  72. name: "宅急送"
  73. - code: "TNT"
  74. name: "TNT快递"
  75. - code: "UPS"
  76. name: "UPS"
  77. - code: "DHL"
  78. name: "DHL"
  79. - code: "FEDEX"
  80. name: "FEDEX联邦(国内件)"
  81. - code: "FEDEX_GJ"
  82. name: "FEDEX联邦(国际件)"
  83. # 对象存储配置
  84. storage:
  85. # 当前工作的对象存储模式,分别是local、aliyun、tencent、qiniu
  86. active: local
  87. # 本地对象存储配置信息
  88. local:
  89. storagePath: storage
  90. # 这个地方应该是wx模块的WxStorageController的fetch方法对应的地址
  91. address: http://localhost:8080/wx/storage/fetch/
  92. # 阿里云对象存储配置信息
  93. aliyun:
  94. endpoint: oss-cn-shenzhen.aliyuncs.com
  95. accessKeyId: 111111
  96. accessKeySecret: xxxxxx
  97. bucketName: litemall
  98. # 腾讯对象存储配置信息
  99. # 请参考 https://cloud.tencent.com/document/product/436/6249
  100. tencent:
  101. secretId: AKIDOccMr856uoU1Tsa2MQL5aqseBUWRrb5i
  102. secretKey: XqtgEhIdrupTs4ygaWlkUUXv3w3FiwuD
  103. region: ap-shanghai
  104. bucketName: vytech-1300096589
  105. # 七牛云对象存储配置信息
  106. qiniu:
  107. endpoint: http://pd5cb6ulu.bkt.clouddn.com
  108. accessKey: 111111
  109. secretKey: xxxxxx
  110. bucketName: litemall