From 25317d9298a8c10bca6a562cb0ebba406bf6de21 Mon Sep 17 00:00:00 2001 From: agan <agan@yazhai.co> Date: Wed, 19 Apr 2023 19:21:25 +0800 Subject: [PATCH] 修改 --- js/webAppComm.js | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/js/webAppComm.js b/js/webAppComm.js index 38e4b74..ae9421e 100644 --- a/js/webAppComm.js +++ b/js/webAppComm.js @@ -32,21 +32,18 @@ function webAppComm() { this.data = null; + this.shareData = { + title: '' + } } //分享 -webAppComm.prototype.goShare = function (picImg, shareCode) { +webAppComm.prototype.goShare = function (shareContent) { let obj = { "cid": 3, "reqCode": new Date().getTime(), "data": { - "shareContent": { - "pic": cdn + picImg, - "title": langList[langType].share1, - "text": langList[langType].share2, - "webpage": "http://www.yabolive.tv/Nesting/invite/share.html?agentCode=" + sessionStorage.bbb + "&bindType=3", - "shareCode": shareCode - }, + "shareContent": shareContent, "shareType": { "wechat": 1, "wechat_moment": 1, @@ -169,7 +166,7 @@ webAppComm.prototype.goOthers = function (jumptype, url) { "cid": 12, "reqCode": new Date().getTime(), "data": { - // "msg": arr[jumptype], + "msg": arr[jumptype], "jumptype": jumptype, //16: 去储值 18: 跳转到座驾 3:跳转集合功能 "url": url } -- libgit2 0.25.0