Commit 09976b85 authored by 邱旭's avatar 邱旭

1

parent 9503f907
......@@ -2024,6 +2024,7 @@ export class NetManager extends ABNetManager {
uri: window['duiba'] +'/customActivity/happyclear/acceptInvitationPrize',
type: 'get',
dataType: 'json',
hideMsg: true,
param: {
detect: window['detect'],
deviceSessionId: window['_device_session_id'],
......
......@@ -460,6 +460,8 @@ export default class MapScene extends Scene {
}
NetManager.ins.acceptInvitationPrize((success, res) => {
if (!success) {
showToast("哎呀,萌狮开小差啦!\n过会再来看吧!");
GDispatcher.dispatchEvent("getInviteInfo");
return;
}
// console.log(res.data);
......
{
"success": true,
"success": false,
"code": "0000000000",
"desc": "OK",
"timestamp": 1571227735841,
......
......@@ -19,7 +19,7 @@
"avatar": null
}
],
"completeFlag": 6,
"completeFlag": 1,
"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