|
@ -19,11 +19,15 @@ export default { |
|
|
// 1.发送给朋友
|
|
|
// 1.发送给朋友
|
|
|
onShareAppMessage(res) { |
|
|
onShareAppMessage(res) { |
|
|
let o = { |
|
|
let o = { |
|
|
...this.Gshare, |
|
|
|
|
|
title : this.configList.logo_name, |
|
|
title : this.configList.logo_name, |
|
|
|
|
|
...this.Gshare, |
|
|
} |
|
|
} |
|
|
if(this.userInfo.id){ |
|
|
if(this.userInfo.id){ |
|
|
o.path = this.Gshare.path + '?shareId=' + this.userInfo.id |
|
|
|
|
|
|
|
|
if(this.Gshare.path.includes('?')){ |
|
|
|
|
|
o.path += '&shareId=' + this.userInfo.id |
|
|
|
|
|
}else{ |
|
|
|
|
|
o.path += '?shareId=' + this.userInfo.id |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
return o |
|
|
return o |
|
|
}, |
|
|
}, |
|
|