Commit 616a83f6 authored by wjf's avatar wjf

l

parent 7f385f06
{
"code": "000000",
"data": {
"currentLevel": 32,
"isFristLogin": false,
"visitors": [
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 66040,
"level": 31,
"createTime": 1595902997340,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595902997340,
"_id": "5f1f8c1552bbde057e10d031",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 46010,
"level": 30,
"createTime": 1595839399586,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595839399586,
"_id": "5f1e93a785a7496423bc0cbc",
"stars": 3,
"isPrizeLevel": true,
"sendAwardType": "prize"
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 21310,
"level": 29,
"createTime": 1595839337125,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595839337125,
"_id": "5f1e93699897b44ce1cdad9d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 43600,
"level": 28,
"createTime": 1595839215454,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595839215454,
"_id": "5f1e92ef738989c8b3ef89c6",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 77140,
"level": 27,
"createTime": 1595839181023,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595839181023,
"_id": "5f1e92cd85a7496423bc0b57",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 32440,
"level": 26,
"createTime": 1595839104043,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595839104043,
"_id": "5f1e92809897b44ce1cdabf6",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 24690,
"level": 25,
"createTime": 1595839079510,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595839079510,
"_id": "5f1e926785a7496423bc0a90",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 15020,
"level": 24,
"createTime": 1595839028260,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595839028260,
"_id": "5f1e923452bbde057e0f84b5",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 28160,
"level": 23,
"createTime": 1595837413622,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595901282492,
"_id": "5f1e8be5ef5071ef85366b52",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 54840,
"level": 22,
"createTime": 1595837300015,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595837300015,
"_id": "5f1e8b74964f9706aa54d8ee",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 47640,
"level": 21,
"createTime": 1595837227485,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595837227485,
"_id": "5f1e8b2bc3ad349c098b7fb8",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 46660,
"level": 20,
"createTime": 1595837142905,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595837142905,
"_id": "5f1e8ad6ef5071ef85366918",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 121800,
"level": 19,
"createTime": 1595837092895,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595837092895,
"_id": "5f1e8aa475cfb6d7c116344a",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 33750,
"level": 18,
"createTime": 1595837019670,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595837019670,
"_id": "5f1e8a5b9da6714ab7d2db83",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 59440,
"level": 17,
"createTime": 1595836914654,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595836914654,
"_id": "5f1e89f2964f9706aa54d60f",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 75340,
"level": 16,
"createTime": 1595836818516,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595836818516,
"_id": "5f1e899252bbde057e0f7530",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 25730,
"level": 15,
"createTime": 1595836754969,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595836754969,
"_id": "5f1e8952964f9706aa54d50d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 60100,
"level": 14,
"createTime": 1595836552955,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595836552955,
"_id": "5f1e88888e6a08321e528ec5",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 37740,
"level": 13,
"createTime": 1595836496312,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595836496312,
"_id": "5f1e885067f1376654746747",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 28860,
"level": 12,
"createTime": 1595836284101,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595836284101,
"_id": "5f1e877c75cfb6d7c1162ea8",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 50410,
"level": 11,
"createTime": 1595836225676,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595836225676,
"_id": "5f1e87419da6714ab7d2d621",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 43870,
"level": 10,
"createTime": 1595835683936,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595835683936,
"_id": "5f1e8523964f9706aa54cd69",
"stars": 3,
"isPrizeLevel": true,
"sendAwardType": "prize"
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 48400,
"level": 9,
"createTime": 1595835649948,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595835649948,
"_id": "5f1e85018e6a08321e528833",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 25340,
"level": 8,
"createTime": 1595835605091,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595835605091,
"_id": "5f1e84d53075d9e9767a639c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 95760,
"level": 7,
"createTime": 1595835490292,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595835490292,
"_id": "5f1e84629da6714ab7d2d0fc",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 24390,
"level": 6,
"createTime": 1595835441703,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595835441703,
"_id": "5f1e84313075d9e9767a627a",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 17590,
"level": 5,
"createTime": 1595834920435,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595834920435,
"_id": "5f1e822875cfb6d7c1162496",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 14850,
"level": 4,
"createTime": 1595834836568,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595834836568,
"_id": "5f1e81d475cfb6d7c11623f7",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 15600,
"level": 3,
"createTime": 1595833995664,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595834624096,
"_id": "5f1e7e8b964f9706aa54c0f3",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 960,
"level": 2,
"createTime": 1595833812817,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595833812817,
"_id": "5f1e7dd48e6a08321e527a4a",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f1a528e964f9796f92d3ccf",
"score": 73470,
"level": 1,
"createTime": 1595816829327,
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"isVisitSuccess": true,
"updateTime": 1595816829327,
"_id": "5f1e3b7de5c0d78b54f1f531",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
}
],
"openId": "AAEdCvE-ALiIWXYsJuRjIAGv",
"prizes": [],
"loginAddPower": 0,
"power": 0,
"tools": {
"HAMMERS": 2,
"STEPS": 7,
"BOOMS": 3
},
"topAward": {}
},
"success": true,
"message": "成功"
}
\ No newline at end of file
......@@ -21779,7 +21779,7 @@ var MapScene = (function (_super) {
Tools_1.Tools.gameData.loginAddPower = false;
}
var openPrize = GTool_1.GTool.readCache('openPrize');
if (Tools_1.Tools.gameData.topAward.openPrizeStatus && openPrize !== 'true') {
if (Tools_1.Tools.gameData.topAward && Tools_1.Tools.gameData.topAward.openPrizeStatus && openPrize !== 'true') {
GTool_1.GTool.writeCache('openPrize', 'true');
if (Tools_1.Tools.gameData.topAward.prize && Tools_1.Tools.gameData.topAward.prize._id) {
ctrls_1.showPanel(PrizePanel_1.PrizePanel, JSON.parse(JSON.stringify(Tools_1.Tools.gameData.topAward.prize)));
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -60,7 +60,7 @@ export class MapScene extends Scene {
}
let openPrize = GTool.readCache('openPrize');
if (Tools.gameData.topAward.openPrizeStatus && openPrize !== 'true') { // 开奖了,并且没弹过
if (Tools.gameData.topAward && Tools.gameData.topAward.openPrizeStatus && openPrize !== 'true') { // 开奖了,并且没弹过
GTool.writeCache('openPrize', 'true');
if (Tools.gameData.topAward.prize && Tools.gameData.topAward.prize._id) { // 有奖
showPanel(PrizePanel, JSON.parse(JSON.stringify(Tools.gameData.topAward.prize)));
......
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