|
|
@@ -49,11 +49,12 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
onShareAppMessage(res) {
|
|
|
+ let salt = this.option.salt || ''
|
|
|
return {
|
|
|
title: this.title,
|
|
|
desc: "",
|
|
|
imageUrl: APIHOST+'/image/custom/hit_me_clear.jpg',
|
|
|
- path: "admin/clear/showBill?id="+this.option.id,
|
|
|
+ path: "admin/clear/showBill?id="+this.option.id+"&salt="+salt,
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -80,6 +81,7 @@ export default {
|
|
|
inviteClear(){
|
|
|
let that = this
|
|
|
let miniOriginalId = that.dictInfo.miniOriginalId && that.dictInfo.miniOriginalId.current && that.dictInfo.miniOriginalId.current.ghs ? that.dictInfo.miniOriginalId.current.ghs : ''
|
|
|
+ let salt = that.option.salt || ''
|
|
|
uni.share({
|
|
|
provider: "weixin",
|
|
|
scene: 'WXSceneSession',
|
|
|
@@ -89,7 +91,7 @@ export default {
|
|
|
imageUrl: APIHOST+'/image/custom/hit_me_clear.jpg',//图片一定要有,不然会分享失败
|
|
|
miniProgram: {
|
|
|
id: miniOriginalId,//小程序原始id,发起分享的 App 与小程序属于同一微信开放平台账号
|
|
|
- path: "admin/clear/showBill?id="+this.option.id,
|
|
|
+ path: "admin/clear/showBill?id="+this.option.id+"&salt="+salt,
|
|
|
type: 0,// 0-正式版; 1-测试版; 2-体验版
|
|
|
webUrl: 'https://www.wixhb.com'
|
|
|
},
|