fix bug
This commit is contained in:
parent
9d5b69edc2
commit
0b806429ab
@ -61,10 +61,13 @@ export class PayFun {
|
||||
{$set: {del_time: G.time}},
|
||||
{upsert: true}
|
||||
);
|
||||
|
||||
})
|
||||
|
||||
G.mongodb.collection('payLogNew').insertMany(args.map(i => ({key: i.payId, uid: uid, values: i.val})));
|
||||
G.mongodb.collection('payLogNew').insertMany(args.filter(v => v.payId && v.val).map(i => ({
|
||||
key: i.payId,
|
||||
uid: uid,
|
||||
values: i.val
|
||||
})));
|
||||
|
||||
G.server.sendMsgByUid(uid, 'msg_s2c/PayChange', Object.fromEntries(args.map(a => [a.payId, a.val])));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user