diff --git a/src/globalListener.ts b/src/globalListener.ts index 8496680..68bc8c8 100644 --- a/src/globalListener.ts +++ b/src/globalListener.ts @@ -19,6 +19,7 @@ import {checkResetBuyLog} from "./api_s2c/event/zhoumolibao/ApiOpen"; import {Christmasfun} from "./api_s2c/event/christmas/fun"; import {PushGiftFun} from "./public/pushgift"; import {LeiChongLiBaoBuyGift} from "./api_s2c/event/leichonglibao/ApiReceive"; +import { HongDianChange } from './api_s2c/hongdian/fun'; export type gEventType = { /**玩家断开连接 */ @@ -203,6 +204,7 @@ export function addListener() { ); await PushGiftFun.buy(player.uid, payId) // 推送礼包 await LeiChongLiBaoBuyGift(call, payId) // 累充礼包 + HongDianChange.sendChangeKey(call.uid, ['huodonghd']); }); G.on("FIRST_LOGIN_EVERY_DAY", (gud, lastTime, curTime) => {