Compare commits

..

No commits in common. "bd4f12817985f1dd899315fa238fd8d6d6259562" and "3b3d61795e4949ee028a5f516f467bee18a4796f" have entirely different histories.

View File

@ -71,7 +71,7 @@ export default async function (call: ApiCall<ReqReceive, ResReceive>) {
if (rec >= _payDiff || data?.record?.[gift.id] == call.req.recId) return call.errorCode(-3) if (rec >= _payDiff || data?.record?.[gift.id] == call.req.recId) return call.errorCode(-3)
prize.push(...gift[call.req.recId]); prize.concat(gift[call.req.recId]);
update = { update = {
$push: { [`record.${gift.id}`]: call.req.recId }, $push: { [`record.${gift.id}`]: call.req.recId },
} }