diff --git a/app.js b/app.js index 976151b..4ec0aa7 100644 --- a/app.js +++ b/app.js @@ -81,6 +81,8 @@ App({ // params.login_id = wx.getStorageSync('login_id') || '' // 可将登录id缓存下来,方便下次进入小程序直接获取 // plugin.setConfig(pluginGD) if(option) this.globalData.scene=option.scene; + console.log(option,'登陆场景'); + wx.hideTabBar(); this.initExt(); // this.overShare() diff --git a/utils/pay.js b/utils/pay.js index 2c66988..114e7d5 100644 --- a/utils/pay.js +++ b/utils/pay.js @@ -35,6 +35,8 @@ module.exports = { if(getApp().globalData.scene) dd.scene=getApp().globalData.scene; + console.log(dd,'支付场景'); + wx.showLoading(); n.post(this.url, { data: dd, diff --git a/utils/pay2.js b/utils/pay2.js index 1d753b9..cf7f027 100644 --- a/utils/pay2.js +++ b/utils/pay2.js @@ -10,6 +10,8 @@ module.exports = { if(getApp().globalData.scene) dd.scene=getApp().globalData.scene; + console.log(dd,'支付场景'); + wx.showLoading(); var i = this; n.post(this.url, {