From 0b2a9f3dc7925e348080f8e00f6040f7fa024bf2 Mon Sep 17 00:00:00 2001 From: xcy Date: Thu, 28 Dec 2023 13:44:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=AF=E8=AE=A1=E5=85=85=E5=80=BC=E7=B4=AF?= =?UTF-8?q?=E8=AE=A1=E9=87=91=E9=A2=9D=E4=BF=AE=E6=94=B9=E4=B8=BA=E7=B4=AF?= =?UTF-8?q?=E8=AE=A1vip=E7=BB=8F=E9=AA=8C(=E9=87=91=E9=A2=9D*10)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/event/leijichongzhi/ApiOpen.ts | 2 +- src/api_s2c/event/leijichongzhi/ApiRec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api_s2c/event/leijichongzhi/ApiOpen.ts b/src/api_s2c/event/leijichongzhi/ApiOpen.ts index 4aac3ce..9d3779f 100644 --- a/src/api_s2c/event/leijichongzhi/ApiOpen.ts +++ b/src/api_s2c/event/leijichongzhi/ApiOpen.ts @@ -26,7 +26,7 @@ export default async function (call: ApiCall) { call.succ({ sTime: sTime, recIndex: db?.recIndex || [], - payNum: await PayFun.getPayDaysAllPayNum(call.uid, _hdinfo.stime, _hdinfo.rtime), + payNum: (await PayFun.getPayDaysAllPayNum(call.uid, _hdinfo.stime, _hdinfo.rtime)) * 10, hdinfo: _hdinfo }); } \ No newline at end of file diff --git a/src/api_s2c/event/leijichongzhi/ApiRec.ts b/src/api_s2c/event/leijichongzhi/ApiRec.ts index 77aa2ee..39d27ee 100644 --- a/src/api_s2c/event/leijichongzhi/ApiRec.ts +++ b/src/api_s2c/event/leijichongzhi/ApiRec.ts @@ -20,7 +20,7 @@ export default async function (call: ApiCall) { let db = await G.mongodb.cEvent(_dbType).findOne({ uid: call.uid, type: _dbType }); if (db.recIndex.includes(call.req.index)) return call.error('', { code: -2 }); - let payNum = await PayFun.getPayDaysAllPayNum(call.uid, _hdinfo.stime, _hdinfo.rtime); + let payNum = (await PayFun.getPayDaysAllPayNum(call.uid, _hdinfo.stime, _hdinfo.rtime)) * 10; if (payNum < conf.total) return call.error('', { code: -3 }); await PlayerFun.sendPrize(call, conf.prize);