diff --git a/config/index.js b/config/index.js index 8cc353e..f8f45d8 100644 --- a/config/index.js +++ b/config/index.js @@ -12,7 +12,7 @@ const envParam = { prod: 'production', } -const env = envParam['dev'] +const env = envParam['test'] // 全局配置 const config = { diff --git a/subPages/user/cash.vue b/subPages/user/cash.vue index 3940d72..01e31e4 100644 --- a/subPages/user/cash.vue +++ b/subPages/user/cash.vue @@ -90,6 +90,9 @@ export default { } const subRes = await this.$api.promotion.withdraw({ + // #ifdef H5 + type : 'official', + // #endif name: this.realName, money: this.amount }) diff --git a/subPages/user/promote.vue b/subPages/user/promote.vue index 0a070cc..9a0d985 100644 --- a/subPages/user/promote.vue +++ b/subPages/user/promote.vue @@ -200,7 +200,7 @@ export default { } // 提现 wx.requestMerchantTransfer({ - mchId: '1724993508',//万能墙商户号 + mchId: '1724993508',// appId: wx.getAccountInfoSync().miniProgram.appId, package: item.packageInfo, success: async (res) => { diff --git a/utils/share.js b/utils/share.js index 601a702..7b841e0 100644 --- a/utils/share.js +++ b/utils/share.js @@ -20,7 +20,7 @@ function share() { //微信分享 timestamp } = res.result jWeixin.config({ - debug: false, + debug: true, appId: appId, nonceStr: nonceStr, signature: signature,