|
@@ -64,7 +64,9 @@
|
|
|
beginSecond: Date.now() / 1000 - 86400 * 2,
|
|
beginSecond: Date.now() / 1000 - 86400 * 2,
|
|
|
endSecond: Date.now() / 1000 + 86400 * 5,
|
|
endSecond: Date.now() / 1000 + 86400 * 5,
|
|
|
teamNum: 0,
|
|
teamNum: 0,
|
|
|
- coiName: '个人组'
|
|
|
|
|
|
|
+ coiId: 1, // Mocked coiId
|
|
|
|
|
+ coiName: '个人组',
|
|
|
|
|
+ ocaId: 201 // Mocked ocaId
|
|
|
},
|
|
},
|
|
|
'MatchRsDetailQuery': [
|
|
'MatchRsDetailQuery': [
|
|
|
{ id: 1, name: '[Mock]活动1', status: 1 },
|
|
{ id: 1, name: '[Mock]活动1', status: 1 },
|
|
@@ -105,10 +107,15 @@
|
|
|
configJson: JSON.stringify({
|
|
configJson: JSON.stringify({
|
|
|
css: ".custom-header { background-color: #f0f8ff; }",
|
|
css: ".custom-header { background-color: #f0f8ff; }",
|
|
|
tabActiveColor: "#007bff",
|
|
tabActiveColor: "#007bff",
|
|
|
|
|
+ teamType: 0, // Mocked teamType
|
|
|
popupRuleConfig: { height: "60%", theme: "light" },
|
|
popupRuleConfig: { height: "60%", theme: "light" },
|
|
|
|
|
+ popupMessageConfig: {}, // Mocked popupMessageConfig
|
|
|
popupRuleList: [
|
|
popupRuleList: [
|
|
|
{ type: 1, data: { title: '规则1', content: '这是<b>Mock</b>的活动规则内容。' } },
|
|
{ type: 1, data: { title: '规则1', content: '这是<b>Mock</b>的活动规则内容。' } },
|
|
|
{ type: 1, data: { title: '规则2', content: '第二条规则。', logo: { src: 'https://picsum.photos/100/50', width: '100px', height: '50px' } } }
|
|
{ type: 1, data: { title: '规则2', content: '第二条规则。', logo: { src: 'https://picsum.photos/100/50', width: '100px', height: '50px' } } }
|
|
|
|
|
+ ],
|
|
|
|
|
+ popupDataList: [ // Mocked popupDataList
|
|
|
|
|
+ { type: 1, data: { title: '通用弹窗1', content: '通用弹窗内容1。' } }
|
|
|
]
|
|
]
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
@@ -184,7 +191,10 @@
|
|
|
{ orderNum: 1, isComplete: 1, showName: '完成1', relationType: 1, ocaId: 10, longitude: 117.1, latitude: 36.6, popupImg: 'https://picsum.photos/100/100?random=19' },
|
|
{ orderNum: 1, isComplete: 1, showName: '完成1', relationType: 1, ocaId: 10, longitude: 117.1, latitude: 36.6, popupImg: 'https://picsum.photos/100/100?random=19' },
|
|
|
{ orderNum: 2, isComplete: 0, showName: '未完2', relationType: 1, ocaId: 11, longitude: 117.2, latitude: 36.7, popupImg: 'https://picsum.photos/100/100?random=20' }
|
|
{ orderNum: 2, isComplete: 0, showName: '未完2', relationType: 1, ocaId: 11, longitude: 117.2, latitude: 36.7, popupImg: 'https://picsum.photos/100/100?random=20' }
|
|
|
]
|
|
]
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ 'CardUriQuery': {}, // 暂无 Mock 结构
|
|
|
|
|
+ 'MatchFinishInfoQuery': {}, // 暂无 Mock 结构
|
|
|
|
|
+ 'RedisRebuild': {} // 暂无 Mock 结构
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
var API = {
|
|
var API = {
|
|
@@ -348,7 +358,16 @@
|
|
|
getUserInfo: function() { return this.request('UserBasicInformationQuery', {}); },
|
|
getUserInfo: function() { return this.request('UserBasicInformationQuery', {}); },
|
|
|
|
|
|
|
|
// 32. 网格卡片信息查询
|
|
// 32. 网格卡片信息查询
|
|
|
- getGrids: function(ecId) { return this.request('GridsQuery', { ecId: ecId }); }
|
|
|
|
|
|
|
+ getGrids: function(ecId) { return this.request('GridsQuery', { ecId: ecId }); },
|
|
|
|
|
+
|
|
|
|
|
+ // 33. 卡片URI查询
|
|
|
|
|
+ getCardUri: function(ecId) { return this.request('CardUriQuery', { ecId: ecId }); },
|
|
|
|
|
+
|
|
|
|
|
+ // 34. 赛事完赛信息查询
|
|
|
|
|
+ getMatchFinishInfo: function(ecId) { return this.request('MatchFinishInfoQuery', { ecId: ecId }); },
|
|
|
|
|
+
|
|
|
|
|
+ // 35. Redis 重建 (管理接口)
|
|
|
|
|
+ redisRebuild: function(ecId) { return this.request('RedisRebuild', { ecId: ecId }); }
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
window.API = API;
|
|
window.API = API;
|