Commit f5ab12ea authored by wildfirecode's avatar wildfirecode

Merge branch '122' into dev

parents b395b753 74692f93
import { NetManager } from "../libs/tw/manager/NetManager";
import { DataManager } from "../libs/tw/manager/DataManager";
import SceneCtrl from "../libs/new_wx/ctrls/sceneCtrl";
import getHomeData from "./getHomeData";
/**
* callback回调1是有奖,0是没有奖或者风控
......@@ -17,7 +18,9 @@ export default (callback?) => {
// else {
// callback(0);
// }
NetManager.ins.hc_home(() => {
SceneCtrl.instance.updateScene();
}, window['collectRuleId']);
}
// else {
// callback(0);
......
......@@ -3101,7 +3101,9 @@ export default class MainScene extends Scene {
NetManager.ins.hc_redBombAward((success) => {
// if (success) // TODO 无论成功失败都弹,失败则为无奖励
this.redBombPanelMark = true;
NetManager.ins.hc_home(() => {
SceneCtrl.instance.updateScene();
}, window['collectRuleId']);
});
}
}
......
......@@ -131,7 +131,9 @@ export class AiControl {
if (!six.length) {
NetManager.ins.hc_redBombAward((success) => {
if (success) thisObj.redBombPanelMark = true;
NetManager.ins.hc_home(() => {
SceneCtrl.instance.updateScene();
}, window['collectRuleId']);
});
callback();
return
......
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