fix:
累充礼包
This commit is contained in:
parent
9df6e2f19f
commit
9490faa364
@ -18,6 +18,7 @@ import { setGud } from './public/gud';
|
|||||||
import {checkResetBuyLog} from "./api_s2c/event/zhoumolibao/ApiOpen";
|
import {checkResetBuyLog} from "./api_s2c/event/zhoumolibao/ApiOpen";
|
||||||
import {Christmasfun} from "./api_s2c/event/christmas/fun";
|
import {Christmasfun} from "./api_s2c/event/christmas/fun";
|
||||||
import {PushGiftFun} from "./public/pushgift";
|
import {PushGiftFun} from "./public/pushgift";
|
||||||
|
import {LeiChongLiBaoBuyGift} from "./api_s2c/event/leichonglibao/ApiReceive";
|
||||||
|
|
||||||
export type gEventType = {
|
export type gEventType = {
|
||||||
/**玩家断开连接 */
|
/**玩家断开连接 */
|
||||||
@ -201,7 +202,9 @@ export function addListener() {
|
|||||||
{ $inc: { payNum: conf.money } },
|
{ $inc: { payNum: conf.money } },
|
||||||
{ upsert: true }
|
{ upsert: true }
|
||||||
);
|
);
|
||||||
PushGiftFun.buy(player.uid, payId) // 推送礼包
|
|
||||||
|
await PushGiftFun.buy(player.uid, payId) // 推送礼包
|
||||||
|
await LeiChongLiBaoBuyGift(call, payId) // 累充礼包
|
||||||
});
|
});
|
||||||
|
|
||||||
G.on("FIRST_LOGIN_EVERY_DAY", (gud, lastTime, curTime) => {
|
G.on("FIRST_LOGIN_EVERY_DAY", (gud, lastTime, curTime) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user