fix:
异步查库改为同步插库
This commit is contained in:
parent
aab0951e6d
commit
791dbc5472
@ -134,7 +134,7 @@ export class PushGiftFun {
|
||||
static async addGift(uid: string, giftid: string, ext_data: { [key: string]: any }) {
|
||||
let conf = G.gc.tuisonglibao[giftid];
|
||||
// 更新礼包
|
||||
G.mongodb.collection("pushgift").updateOne({
|
||||
await G.mongodb.collection("pushgift").updateOne({
|
||||
uid: uid, id: giftid
|
||||
}, {
|
||||
$set: {
|
||||
|
Loading…
Reference in New Issue
Block a user