|
|
@@ -138,6 +138,7 @@ export default {
|
|
|
menus: ['shareAppMessage', 'shareTimeline']
|
|
|
});
|
|
|
this.options = options;
|
|
|
+ if(options.shareId) req.setStorage('shareId',options.shareId)
|
|
|
// req.silenceLogin(options.userId, '');
|
|
|
},
|
|
|
async onShow() {
|
|
|
@@ -158,6 +159,9 @@ export default {
|
|
|
if(req.getStorage('userInfo')){
|
|
|
url += '&userId=' + req.getStorage('userInfo').id
|
|
|
}
|
|
|
+ if(req.getStorage('userInfo').userType==1){
|
|
|
+ url += '&shareId=' + req.getStorage('userInfo').id
|
|
|
+ }
|
|
|
return {
|
|
|
title: this.detail.title,
|
|
|
imageUrl: this.detail.pic,
|
|
|
@@ -171,6 +175,9 @@ export default {
|
|
|
if(req.getStorage('userInfo')){
|
|
|
query.userId = req.getStorage('userInfo').id
|
|
|
}
|
|
|
+ if(req.getStorage('userInfo').userType==1){
|
|
|
+ url += '&shareId=' + req.getStorage('userInfo').id
|
|
|
+ }
|
|
|
return {
|
|
|
title: this.detail.title,
|
|
|
imageUrl: this.detail.pic,
|