fix:
修复破冰bug
This commit is contained in:
parent
da37b162d9
commit
a04394149d
@ -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.concat(gift[call.req.recId]);
|
prize.push(...gift[call.req.recId]);
|
||||||
update = {
|
update = {
|
||||||
$push: { [`record.${gift.id}`]: call.req.recId },
|
$push: { [`record.${gift.id}`]: call.req.recId },
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user