Commit e6048095 authored by wildfirecode's avatar wildfirecode

1

parent 39f82ff4
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"invite","version":5,"files":["../assets/invite/invite_invite.png","../assets/invite/invite_help.png","../assets/invite/invite_btn.png","../assets/invite/invite_bg.png","../assets/invite/prize/invitePrize_btn.png","../assets/invite/prize/invitePrize_bg.png","../assets/invite/prize/invitePrize_game_btn.png","../assets/invite/cutTime/invateCut_bg.png","../assets/invite/cutTime/invateCut_btn.png","../assets/invite/invite_wx_tip.png"]} {"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"invite","version":5,"files":["../assets/invite/invite_invite.png","../assets/invite/invite_help.png","../assets/invite/invite_btn.png","../assets/invite/invite_bg.png","../assets/invite/prize/invitePrize_btn.png","../assets/invite/prize/invitePrize_bg.png","../assets/invite/prize/invitePrize_game_btn.png","../assets/invite/cutTime/invateCut_bg.png","../assets/invite/cutTime/invateCut_btn.png","../assets/invite/invite_wx_tip.png","../assets/invite/rule/invite_rule_bg.png"]}
\ No newline at end of file \ No newline at end of file
...@@ -8,6 +8,7 @@ import { ExmlPlugin2 } from "./ExmlPlugin2"; ...@@ -8,6 +8,7 @@ import { ExmlPlugin2 } from "./ExmlPlugin2";
export class MyExmlPlugin extends ExmlPlugin2 implements plugins.Command { export class MyExmlPlugin extends ExmlPlugin2 implements plugins.Command {
async onFile(file: plugins.File) { async onFile(file: plugins.File) {
const excludes = [ const excludes = [
'cutTimeFont.png',
'nums.png', 'nums.png',
'nums2.png' 'nums2.png'
]; ];
......
...@@ -341,8 +341,9 @@ export default class MapScene extends Scene { ...@@ -341,8 +341,9 @@ export default class MapScene extends Scene {
updateFriends() { updateFriends() {
NetManager.ins.hc_mapRank(() => { NetManager.ins.hc_mapRank(() => {
const { data } = DataManager.ins.getData('hc_mapRank'); const hc_mapRank= DataManager.ins.getData('hc_mapRank').data;
data.forEach((ele) => { if(!hc_mapRank)return;
hc_mapRank.forEach((ele) => {
this.addAvatar(ele.levelNum, ele.rank[0]); this.addAvatar(ele.levelNum, ele.rank[0]);
}); });
}); });
......
{
"success":true,
"code":null,
"desc":null,
"timestamp":1566199822308,
"data":[
{
"levelNum":4,
"rank":[
{
"nickName":"昵称",
"avatar":"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars":1,
"maxScore":123,
"rank":"排名"
}
]
},
{
"levelNum":70,
"rank":[
{
"nickName":"昵称",
"avatar":"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars":1,
"maxScore":123,
"rank":"排名"
}
]
},
{
"levelNum":71,
"rank":[
{
"nickName":"昵称",
"avatar":"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars":1,
"maxScore":123,
"rank":"排名"
}
]
}
]
}
\ No newline at end of file
{ {"success":true,"code":"0000000000","desc":"OK","timestamp":1571055191222,"data":null}
"success":true, \ No newline at end of file
"code":null,
"desc":null,
"timestamp":1566199822308,
"data":[
{
"levelNum":4,
"rank":[
{
"nickName":"昵称",
"avatar":"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars":1,
"maxScore":123,
"rank":"排名"
}
]
},
{
"levelNum":70,
"rank":[
{
"nickName":"昵称",
"avatar":"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars":1,
"maxScore":123,
"rank":"排名"
}
]
},
{
"levelNum":71,
"rank":[
{
"nickName":"昵称",
"avatar":"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars":1,
"maxScore":123,
"rank":"排名"
}
]
}
]
}
\ No newline at end of file
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