import { LotteryData } from "../../tw/data/common/lottery/LotteryData";
import { DataManager } from "../../tw/manager/DataManager";
import { NetManager } from "../../tw/manager/NetManager";

const showPlugLog = (lottery: LotteryData): void => {
    //曝光埋点
    if (lottery.imgExposure) {
        NetManager.ins.showLog(lottery.imgExposure);
    }
    //如果是福袋还需要推啊曝光
    if (lottery.type == "lucky") {
        NetManager.ins.spmshow(DataManager.ins.getPlugOrderStatusData.exposure);
    }
}

export default showPlugLog;