onShareAppMessage中的path如何在同页面获取里面的参数?
onShareAppMessage: function (res){
let userInfo = wx.getStorageSync("userInfo");
let id = wx.getStorageSync("id");
let nickName = userInfo.nickname
let oldUserId = userInfo.user\_id
let str = JSON.stringify(userInfo);
return {
title: nickName + '分享了一个不错的清单,赶紧来看看吧~',
path: "/pages/qingdandetail/qingdandetail?id=" + id + "&nickName=" + nickName + "&oldUserId=" + oldUserId,
imageUrl: '',
}
}
分享商品详情给好友,怎么判断是本人点击该链接 还是好友点击 该链接?
怎么在点击该链接后获取path中的参数?