新增活动脚本
This commit is contained in:
parent
28adc88ff0
commit
01f57b347f
@ -7,7 +7,8 @@ class Path {
|
||||
async fun1(a: any) {
|
||||
|
||||
hdlist.map(i => {
|
||||
G.mongodb.collection('hdinfo').updateOne({hdid: i.hdid}, i, {upsert: true})
|
||||
// @ts-ignore
|
||||
G.mongodb.collection('hdinfo').updateOne({hdid: i.hdid}, {$set: i}, {upsert: true})
|
||||
})
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user