Commit c281b52a authored by 邱旭's avatar 邱旭

1

parent 18b21f9b
......@@ -55,9 +55,9 @@
* 邀请有礼分享
*/
function inviteShare(shareCode) {
let title = "";
let content = "";
let targetUrl = "" + "?shareCode=" + shareCode; // 待修改
let title = "求求你可以帮我点一下吗?还差一点点就可以领红包了~";
let content = "我在狮狮连萌等你,一起天天领福利哦";
let targetUrl = "https://gameact.suning.com/duiba/customShare/share?id=3531" + "&shareCode=" + shareCode; // 待修改
let iconUrl = "http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg";
let shareWays = "1,2";
console.log("AppReady");
......
......@@ -1968,7 +1968,7 @@ export class NetManager extends ABNetManager {
name: NetName.DO_HELP,
uri: '/customActivity/happyclear/doHelp',
type: 'post',
dataType: 'get',
dataType: 'json',
param: {
activityId: DataManager.ins.customCfgData.actId,
shareCode: shareCode,
......
......@@ -441,6 +441,9 @@ export default class MapScene extends Scene {
PanelCtrl.instance.show('invite', res.data);
});
break;
case (flag == 5): // 可以开启下一次发任务
PanelCtrl.instance.show('inviteCutTime', res.data);
break;
default:
break;
}
......@@ -485,6 +488,10 @@ export default class MapScene extends Scene {
this["inviteTips"].visible = true;
this["inviteTips"].text = "立即到账";
break;
case (flag == 5): // 可以开启下一次发任务 显示立即到账
this["inviteTipsBg"].visible = false;
this["inviteTips"].visible = false;
break;
default:
break;
}
......
{
"success": true,
"code": null,
"desc": null,
"timestamp": 1566199822308,
"code": "0000000000",
"desc": "OK",
"timestamp": 1571052938097,
"data": {
"invitationId": "活动id",
"invitationCount": 0,
"img": "http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg",
"sysTime": 1570630215000,
"endTime": 1570672800000,
"completeFlag": 0,
"openPrizMsg": "图片",
"prizeType": "nickname",
"prizeName": "nickname",
"prizeImg": "http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg",
"facePrice": "avatar"
"invitationId": null,
"invitationCount": 1,
"sysTime": 1571052938083,
"endTime": 1571134423000,
"completeFlag": 1,
"openPrizMsg": null,
"prizeType": "7",
"prizeName": null,
"prizeImg": "//yun.dui88.com/images/201910/oblhlej3a6.png",
"facePrice": "2",
"invitationUser": []
}
}
\ No newline at end of file
......@@ -15,7 +15,7 @@
"avatar": "http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg"
}
],
"completeFlag": 0,
"completeFlag": 5,
"openPrizeMsg": "图片",
"prizeType": "nickname",
"prizeName": "nickname",
......
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 to comment