Merge branch 'release' of http://git.legu.cc/qixin/HJ_Server into release

This commit is contained in:
xichaoyin 2024-01-05 13:34:48 +08:00
commit 9d82d08738

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)
prize.concat(gift[call.req.recId]);
prize.push(...gift[call.req.recId]);
update = {
$push: { [`record.${gift.id}`]: call.req.recId },
}