Commit 25317d92 by agan

修改

parent 05fe3356
Showing with 6 additions and 9 deletions
...@@ -32,21 +32,18 @@ ...@@ -32,21 +32,18 @@
function webAppComm() { function webAppComm() {
this.data = null; this.data = null;
this.shareData = {
title: ''
}
} }
//分享 //分享
webAppComm.prototype.goShare = function (picImg, shareCode) { webAppComm.prototype.goShare = function (shareContent) {
let obj = { let obj = {
"cid": 3, "cid": 3,
"reqCode": new Date().getTime(), "reqCode": new Date().getTime(),
"data": { "data": {
"shareContent": { "shareContent": 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
},
"shareType": { "shareType": {
"wechat": 1, "wechat": 1,
"wechat_moment": 1, "wechat_moment": 1,
...@@ -169,7 +166,7 @@ webAppComm.prototype.goOthers = function (jumptype, url) { ...@@ -169,7 +166,7 @@ webAppComm.prototype.goOthers = function (jumptype, url) {
"cid": 12, "cid": 12,
"reqCode": new Date().getTime(), "reqCode": new Date().getTime(),
"data": { "data": {
// "msg": arr[jumptype], "msg": arr[jumptype],
"jumptype": jumptype, //16: 去储值 18: 跳转到座驾 3:跳转集合功能 "jumptype": jumptype, //16: 去储值 18: 跳转到座驾 3:跳转集合功能
"url": url "url": url
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment