Commit 785360ae authored by wildfirecode's avatar wildfirecode

1

parent c28b5656
...@@ -32,7 +32,8 @@ export default class StartPanel extends Panel { ...@@ -32,7 +32,8 @@ export default class StartPanel extends Panel {
this['empty'].visible = false; this['empty'].visible = false;
NetManager.ins.hc_levelNumRank(() => { NetManager.ins.hc_levelNumRank(() => {
const { data: friends } = DataManager.ins.getData('hc_levelNumRank'); let { data: friends } = DataManager.ins.getData('hc_levelNumRank');
friends = friends.rank;
if(friends && friends.length > 0 ) { if(friends && friends.length > 0 ) {
this.friendlist.visible = true; this.friendlist.visible = true;
if (friends.length > 5) if (friends.length > 5)
......
{ {
"success": true, "success": true,
"code": null, "code": "0000000000",
"desc": null, "desc": "OK",
"timestamp": 1566199822308, "timestamp": 1571044339755,
"data": [ "data": {
"levelNum": 1,
"rank": [
{ {
"nickName": "奈何本人没文化,一句卧槽行天下", "nickName": "https://wx.qlogo.cn/mmopen/vi_32/5icsJibet91SjpqD2GygMAA5twUoqVTiaOqS3NQNia0Jbuia2fZxlh03AIyiaaVTRRKOxo1Ym17icjBBkiaMhicv3zhXgRQ/132",
"avatar": "http://yun.dui88.com/images/201604/c6s5l4dgea.jpg", "avatar": "https://wx.qlogo.cn/mmopen/vi_32/5icsJibet91SjpqD2GygMAA5twUoqVTiaOqS3NQNia0Jbuia2fZxlh03AIyiaaVTRRKOxo1Ym17icjBBkiaMhicv3zhXgRQ/132",
"stars": 1, "stars": 3,
"maxScore": 1234567, "maxScore": 31940,
"rank": "1" "rank": null,
}, "levelNum": null,
{ "consumerId": null
"nickName": "2奈何本人没文化,一句卧槽行天下",
"avatar": "http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars": 1,
"maxScore": 1234567,
"rank": "2"
},
{
"nickName": "3奈何本人没文化,一句卧槽行天下",
"avatar": "http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars": 1,
"maxScore": 1234567,
"rank": "3"
},
{
"nickName": "4奈何本人没文化,一句卧槽行天下",
"avatar": "http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars": 1,
"maxScore": 1234567,
"rank": "4"
},
{
"nickName": "5奈何本人没文化,一句卧槽行天下",
"avatar": "http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars": 1,
"maxScore": 123,
"rank": "5"
},
{
"nickName": "6奈何本人没文化,一句卧槽行天下",
"avatar": "http://yun.dui88.com/images/201604/c6s5l4dgea.jpg",
"stars": 1,
"maxScore": 555555,
"rank": "6"
} }
] ]
}
} }
\ 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