From b04ce950cdf11d5135591f49d221a195a8813c7e Mon Sep 17 00:00:00 2001 From: xichaoyin Date: Thu, 4 Jan 2024 21:41:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=85=E5=80=BC=E4=B9=8B=E5=90=8E?= =?UTF-8?q?=E6=8E=A8=E4=B8=80=E6=AC=A1=E6=B4=BB=E5=8A=A8=E7=BA=A2=E7=82=B9?= =?UTF-8?q?change?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/globalListener.ts | 2 ++ 1 file changed, 2 insertions(+) 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) => {