Commit 7543059f authored by wildfirecode's avatar wildfirecode

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

parents 11f5f3b0 000cbcd3
......@@ -4,6 +4,7 @@ import getSkinPath from "../../libs/new_wx/utils/getSkinPath";
import InviteRulePanel from "./InviteRulePanel";
import { NetManager } from "../../libs/tw/manager/NetManager";
import Utils from "../Utils";
import { DataManager } from "../../libs/tw/manager/DataManager";
export default class InvitePanel extends Panel {
public prizeImg: eui.Image;
......@@ -78,12 +79,14 @@ export default class InvitePanel extends Panel {
if(!success) {
return;
}
let shareCode = res.data;
let shareCode = res.data; // 分享码
CFG.wxShareLink = "https://gameact.suning.com/duiba/customShare/share?id=3531" + "&shareCode=" + shareCode; // 分享链接
if(iswx()) { //微信端
this.wxShareTip.visible = true;
window["invokeWX"]();
} else {//端内
this.wxShareTip.visible = true;
// window["inviteShare"](shareCode);
this.wxShareTip.visible = false;
window["inviteShare"](shareCode);
}
});
}
......
......@@ -15,7 +15,7 @@
"avatar": "http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg"
}
],
"completeFlag": 1,
"completeFlag": 0,
"openPrizeMsg": "图片",
"prizeType": "nickname",
"prizeName": "nickname",
......
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