Commit 873d9d9357e2914da1c251ce2e091fd8841a7c72

Authored by yvan.ni
1 parent f34e3334

打日志

@@ -81,6 +81,8 @@ App({ @@ -81,6 +81,8 @@ App({
81 // params.login_id = wx.getStorageSync('login_id') || '' // 可将登录id缓存下来,方便下次进入小程序直接获取 81 // params.login_id = wx.getStorageSync('login_id') || '' // 可将登录id缓存下来,方便下次进入小程序直接获取
82 // plugin.setConfig(pluginGD) 82 // plugin.setConfig(pluginGD)
83 if(option) this.globalData.scene=option.scene; 83 if(option) this.globalData.scene=option.scene;
  84 + console.log(option,'登陆场景');
  85 +
84 wx.hideTabBar(); 86 wx.hideTabBar();
85 this.initExt(); 87 this.initExt();
86 // this.overShare() 88 // this.overShare()
utils/pay.js
@@ -35,6 +35,8 @@ module.exports = { @@ -35,6 +35,8 @@ module.exports = {
35 if(getApp().globalData.scene) 35 if(getApp().globalData.scene)
36 dd.scene=getApp().globalData.scene; 36 dd.scene=getApp().globalData.scene;
37 37
  38 + console.log(dd,'支付场景');
  39 +
38 wx.showLoading(); 40 wx.showLoading();
39 n.post(this.url, { 41 n.post(this.url, {
40 data: dd, 42 data: dd,
utils/pay2.js
@@ -10,6 +10,8 @@ module.exports = { @@ -10,6 +10,8 @@ module.exports = {
10 if(getApp().globalData.scene) 10 if(getApp().globalData.scene)
11 dd.scene=getApp().globalData.scene; 11 dd.scene=getApp().globalData.scene;
12 12
  13 + console.log(dd,'支付场景');
  14 +
13 wx.showLoading(); 15 wx.showLoading();
14 var i = this; 16 var i = this;
15 n.post(this.url, { 17 n.post(this.url, {