From c6953882084e4cb4397ecd06c076182e88149ab2 Mon Sep 17 00:00:00 2001 From: dy Date: Thu, 21 Dec 2023 23:51:03 +0800 Subject: [PATCH] fix pay --- src/public/pay.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/public/pay.ts b/src/public/pay.ts index ec4ea08..e752ce8 100644 --- a/src/public/pay.ts +++ b/src/public/pay.ts @@ -233,7 +233,12 @@ export class PayFun { prize.push(...conf.prize) } //圣诞节活动充值 - await Christmasfun.payChristmas(payId, call); + try{ + await Christmasfun.payChristmas(payId, call); + }catch (e) { + console.log("Christmasfun.payChristmas Error",e); + } + let isReplaceConf = await this.checkBuysAfterPay(uid, payId, conf, payArgs, player) if (isReplaceConf) { let prizePayId = `zuanshi_${conf.money}`