application-coreTest.yml 3.78 KB
Newer Older
liu_cheng_jiu's avatar
liu_cheng_jiu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
server:
  # 开发者应该设置成自己的wx相关信息
  wx:
    app-id: wx6c35ee4dc0a3dfaf  #wx4359791c2e1f0be0 #wxa5b486c6b918ecfb
    app-secret: 8dfa11d7469f8ce15ceca46f65d371c4 #e04004829d4c383b4db7769d88dfbca1
    mch-id: 111111
    mch-key: xxxxxx
    notify-url: https://base.exploring.cn/test-gyh-server/wx/order/pay-notify
    # 商户证书文件路径
    # 请参考“商户证书”一节 https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=4_3
    key-path: xxxxx

  #通知相关配置
  notify:
    mail:
      # 邮件通知配置,邮箱一般用于接收业务通知例如收到新的订单,sendto 定义邮件接收者,通常为商城运营人员
      enable: true
      # host: smtp.163.com
      # username: engine1314@163.com
      #password: engine1314
      #sendfrom: engine1314@163.com
      #sendto: zhenghaiyuan@exploring.cn
      host: smtp.exmail.qq.com
      username: tzs@xuanzang.com.cn
      password: Xz@123
      sendfrom: tzs@xuanzang.com.cn
      sendto: zhenghaiyuan@exploring.cn

    # 短消息模版通知配置
    # 短信息用于通知客户,例如发货短信通知,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值
    sms:
      enable: true
      appid: 111111111
      appkey: xxxxxxxxxxxxxx
      template:
      - name: paySucceed
        templateId: 156349
      - name: captcha
        templateId: 156433
      - name: ship
        templateId: 158002
      - name: refund
        templateId: 159447
      - name: other
        templateId: 156686

    # 微信模版通知配置
    # 微信模版用于通知客户或者运营者,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值
    wx:
      enable: false
      template:
      - name: paySucceed
        templateId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      - name: captcha
        templateId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      - name: ship
        templateId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      - name: refund
        templateId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

  # 快鸟物流查询配置
  express:
    enable: true
    appId: "1467873"
    appKey: "db108904-76b9-4b26-8dd4-067986377898"
    vendors:
    - code: "ZTO"
      name: "中通快递"
    - code: "YTO"
      name: "圆通速递"
    - code: "YD"
      name: "韵达速递"
    - code: "YZPY"
      name: "邮政快递包裹"
    - code: "EMS"
      name: "EMS"
    - code: "DBL"
      name: "德邦快递"
    - code: "FAST"
      name: "快捷快递"
    - code: "ZJS"
      name: "宅急送"
    - code: "TNT"
      name: "TNT快递"
    - code: "UPS"
      name: "UPS"
    - code: "DHL"
      name: "DHL"
    - code: "FEDEX"
      name: "FEDEX联邦(国内件)"
    - code: "FEDEX_GJ"
      name: "FEDEX联邦(国际件)"

  # 对象存储配置
  storage:
    # 当前工作的对象存储模式,分别是local、aliyun、tencent、qiniu
    active: local
    # 本地对象存储配置信息
    local:
      storagePath: storage
      # 这个地方应该是wx模块的WxStorageController的fetch方法对应的地址
Mindfaker's avatar
Mindfaker committed
102
      address: https://base.exploring.cn/test-engine-class-work/wx/storage/fetch/
liu_cheng_jiu's avatar
liu_cheng_jiu committed
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
    # 阿里云对象存储配置信息
    aliyun:
      endpoint: oss-cn-zhangjiakou.aliyuncs.com
      accessKeyId: ztCPfI257OJL6Fe0
      accessKeySecret: VpsvKMdzo1Ag05L7bWdhNadfTCfE5H
      bucketName: engine-storage
      dir: gyq/upload-test/
      domain: storage.exploring.cn
    # 腾讯对象存储配置信息
    # 请参考 https://cloud.tencent.com/document/product/436/6249
    tencent:
      secretId: 111111
      secretKey: xxxxxx
      region: xxxxxx
      bucketName: server
    # 七牛云对象存储配置信息
    qiniu:
      endpoint: http://pd5cb6ulu.bkt.clouddn.com
      accessKey: 111111
      secretKey: xxxxxx
      bucketName: server