From 8b157a047a83ba2e546943f5f432895976ae6eb2 Mon Sep 17 00:00:00 2001 From: xcy <871622040@qq.com> Date: Tue, 19 Dec 2023 18:38:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BC=99=E4=BC=B4=E6=8B=9B=E5=8B=9F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9D=A1=E4=BB=B6=E8=87=B3=E5=B0=8A=E6=9C=88?= =?UTF-8?q?=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/event/huobanzhaomu/ApiRec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api_s2c/event/huobanzhaomu/ApiRec.ts b/src/api_s2c/event/huobanzhaomu/ApiRec.ts index 0c1dfba..b272463 100644 --- a/src/api_s2c/event/huobanzhaomu/ApiRec.ts +++ b/src/api_s2c/event/huobanzhaomu/ApiRec.ts @@ -12,8 +12,8 @@ export default async function (call: ApiCall) { let db = await G.mongodb.cEvent('huobanzhaomu').findOne({uid: call.uid, type: 'huobanzhaomu'}); if (db?.rec.includes(call.req.index)) return call.error('', {code: -3}); - if (conf.gudKey == "chaozhiyueka") { - let logs = await PayFun.getPayLog(call.uid, "chaozhiyueka"); + if (conf.gudKey == "zhizunyueka") { + let logs = await PayFun.getPayLog(call.uid, "zhizunyueka"); if (!logs || logs.slice(-1)[0].eTime < G.time) { return call.error('', {code: -4}); }