|
|
|
@ -19,6 +19,8 @@ Page({ |
|
|
|
|
|
|
|
onLoad: function(options) { |
|
|
|
var that = this; |
|
|
|
//由登录页面进入详情页变更值为0;分享直接进入为1
|
|
|
|
app.globalData.shareInState = 0; |
|
|
|
// 添加接口请求当前余额
|
|
|
|
GetUserProfile(function(res) { |
|
|
|
if (res != null) { |
|
|
|
@ -28,7 +30,6 @@ Page({ |
|
|
|
} |
|
|
|
var shareURL = app.globalData.shareInPath; |
|
|
|
if (shareURL) { |
|
|
|
app.globalData.shareInState = 0, |
|
|
|
wx.navigateTo({ |
|
|
|
url: "../../" + shareURL, |
|
|
|
complete: function (res) { |
|
|
|
|