Commit 14ca95b8 authored by 邱旭's avatar 邱旭

Merge branch 'dev' of http://gitlab2.dui88.com/wanghongyuan/xiaoxiaole into dev

parents 1e87ca3b c04c8a03
...@@ -364,7 +364,11 @@ export default class MapScene extends Scene { ...@@ -364,7 +364,11 @@ export default class MapScene extends Scene {
NetManager.ins.hc_mapRank(() => { NetManager.ins.hc_mapRank(() => {
const hc_mapRank = DataManager.ins.getData('hc_mapRank').data; const hc_mapRank = DataManager.ins.getData('hc_mapRank').data;
if (!hc_mapRank) return; if (!hc_mapRank) return;
const { data } = DataManager.ins.getData('hc_userInfo');
hc_mapRank.forEach((ele) => { hc_mapRank.forEach((ele) => {
if(ele.levelNum == getHomeData().levels.length + 1 ){
ele.rank[0].avatar = data.avatar;
}
this.addAvatar(ele.levelNum, ele.rank[0]); this.addAvatar(ele.levelNum, ele.rank[0]);
}); });
}); });
......
...@@ -87,7 +87,7 @@ export default class InvitePanel extends Panel { ...@@ -87,7 +87,7 @@ export default class InvitePanel extends Panel {
return; return;
} }
let shareCode = res.data; // 分享码 let shareCode = res.data; // 分享码
CFG.wxShareLink = "https://gameact.suning.com/duiba/customShare/share?id=3531" + "&shareCode=" + shareCode; // 分享链接 CFG.wxShareLink = window['h5URL'] + "&shareCode=" + shareCode; // 分享链接
if(iswx()) { //微信端 if(iswx()) { //微信端
this.wxShareTip.visible = true; this.wxShareTip.visible = true;
window["invokeWX"](); window["invokeWX"]();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"code": "0000000000", "code": "0000000000",
"data": [ "data": [
{ {
"levelNum": 72, "levelNum": 71,
"rank": [ "rank": [
{ {
"levelNum": null, "levelNum": null,
......
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