Commit ef2dbb8c authored by wildfirecode's avatar wildfirecode

1

parent c7fc83cf
...@@ -3,7 +3,6 @@ import { DataManager } from "../../../libs/tw/manager/DataManager"; ...@@ -3,7 +3,6 @@ import { DataManager } from "../../../libs/tw/manager/DataManager";
import { NetManager } from "../../../libs/tw/manager/NetManager"; import { NetManager } from "../../../libs/tw/manager/NetManager";
const showLog = (lottery: LotteryData): void => { const showLog = (lottery: LotteryData): void => {
if(window['development'] )return
//曝光埋点 //曝光埋点
if (lottery.imgExposure) { if (lottery.imgExposure) {
NetManager.ins.showLog(lottery.imgExposure); NetManager.ins.showLog(lottery.imgExposure);
......
...@@ -203,26 +203,6 @@ export class NetManager extends ABNetManager { ...@@ -203,26 +203,6 @@ export class NetManager extends ABNetManager {
this.send(net); this.send(net);
} }
/**
* 购买鱼钩鱼线道具
* @param callback
* @param operatingActivityId 活动oaid
* @param type 道具类型 0:鱼线 1:鱼钩
*/
public summerBuyProp(callback: Function, operatingActivityId: number, type: number): void {
const net: INetData = {
name: NetName.GAME_SUMMER_BUYPROP,
uri: '/summer/buyProp',
type: 'post',
dataType: 'json',
param: {
operatingActivityId: operatingActivityId,
type: type
},
callback: callback, hideMsg: true
};
this.send(net);
}
/** /**
* 获取鱼钩鱼线数量 * 获取鱼钩鱼线数量
...@@ -1478,9 +1458,10 @@ export class NetManager extends ABNetManager { ...@@ -1478,9 +1458,10 @@ export class NetManager extends ABNetManager {
if (!net.hideMsg) { if (!net.hideMsg) {
GDispatcher.dispatchEvent(ABNetManager.NET_ERROR, net); GDispatcher.dispatchEvent(ABNetManager.NET_ERROR, net);
this.offline && this.offline();
} }
this.offline && this.offline();
} }
// tslint:disable-next-line:max-file-line-count // tslint:disable-next-line:max-file-line-count
} }
\ 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