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}); }