Commit d6f519c8 authored by wildfirecode's avatar wildfirecode

1

parent 81c47fd9
......@@ -373,6 +373,9 @@ export default class MainBase extends eui.UILayer {
getBackReward() {
return new Promise((r) => {
try {
if(window['getRST']) window['getRST']();
} catch(error) { }
NetManager.ins.hc_getBackReward(() => {
r();
})
......
......@@ -945,7 +945,9 @@ export class NetManager extends ABNetManager {
}
public hc_getBackReward(callback: Function): void {
const d: any = {
activityId: DataManager.ins.customCfgData.actId
activityId: DataManager.ins.customCfgData.actId,
detect: window['detect'],
deviceSessionId: window['_device_session_id']
};
const net: INetData = {
name: 'hc_getBackReward',
......
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