liuyu 5 年之前
父节点
当前提交
0de6581c50
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      config/config.default.js

+ 17 - 0
config/config.default.js

@@ -32,6 +32,23 @@ module.exports = appInfo => {
     },
   };
 
+  config.wxapi = {
+    appid: 'wxdf3ed83c095be97a', // 微信公众号APPID
+    baseUrl: 'http://wx.cc-lotus.info', // 微信网关地址
+    mchid: '1505364491', // 商户ID
+    mchkey: '1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik9', // 商户key
+    wxurl: 'http://free.liaoningdoupo.com/api/wxpayback',
+    payurl: 'https://api.mch.weixin.qq.com/pay/unifiedorder',
+  };
+
+  config.proxy = true;
+  config.hostHeaders = 'x-forwarded-host';
+
+  // 服务器发布路径
+  config.baseUrl = 'http://free.liaoningdoupo.com';
+  // 认证回调地址
+  config.authUrl = '/api/auth/wxchat';
+
   config.mongoose = {
     url: 'mongodb://localhost:27017/platform',
     options: {