|
|
@@ -114,7 +114,7 @@
|
|
|
//this.refresh();
|
|
|
console.log('测试',getApp().globalData.user_id)
|
|
|
console.log('上级id对象',options)
|
|
|
- getApp().globalData.lastId = options.inviteId ? options.inviteId : getApp().globalData.user_id
|
|
|
+ getApp().globalData.lastId = options.scene ? options.scene : getApp().globalData.user_id
|
|
|
this.loginRequest();
|
|
|
this.getPageProductList();
|
|
|
},
|
|
|
@@ -124,7 +124,7 @@
|
|
|
onShareAppMessage() {
|
|
|
return {
|
|
|
title: '分销小助手',
|
|
|
- path:'/pages/index/index?inviteId=' + getApp().globalData.user_id
|
|
|
+ path:'/pages/index/index?scene=' + getApp().globalData.user_id
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -138,8 +138,8 @@
|
|
|
data: {
|
|
|
method: 'addShare',
|
|
|
timestamp: getApp().globalData.globalTimestamp, //Date.now()
|
|
|
- shangjiid:getApp().globalData.lastId || uid,
|
|
|
- userid:uid,
|
|
|
+ shangjiid:getApp().globalData.lastId,
|
|
|
+ userid:getApp().globalData.user_id,
|
|
|
sign: md5('addShare' + getApp().globalData.globalTimestamp)
|
|
|
},
|
|
|
success: res => {
|