This commit is contained in:
ciniao 2024-01-03 13:44:51 +08:00
parent 78c306ce5e
commit 43aeef2501

View File

@ -26,7 +26,7 @@ export default async function (call: ApiCall<ReqOpen, ResOpen>) {
db = await checkNextRound(call, db, _hdinfo.data.tasks) db = await checkNextRound(call, db, _hdinfo.data.tasks)
let payNum = (await PayFun.getPayDaysAllPayNum(call.uid, _hdinfo.stime, _hdinfo.rtime)) * 10 let payNum = (await PayFun.getPayDaysAllPayNum(call.uid, _hdinfo.stime, _hdinfo.rtime)) * 10
payNum = payNum - (db.round || 0) * R.sort((a, b) => b.total - a.total)(_hdinfo.data.tasks)[0].total payNum = payNum - (db?.round || 0) * R.sort((a, b) => b.total - a.total)(_hdinfo.data.tasks)[0].total
call.succ({ call.succ({
sTime: sTime, sTime: sTime,