Commit c281b52a authored by 邱旭's avatar 邱旭

1

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