Merge branch 'feature/yuandan' into dev
This commit is contained in:
commit
2a4ed01a34
@ -23,6 +23,7 @@ export class Yuandanfun {
|
||||
exchange: {},
|
||||
taskfinish: [],
|
||||
taskval: await this.getTaskVal(call),
|
||||
refreshTime: G.time
|
||||
},
|
||||
}, {upsert: true, returnDocument: 'after'})).value
|
||||
}
|
||||
@ -95,7 +96,7 @@ export class Yuandanfun {
|
||||
// 设置任务
|
||||
if (isset == 1) {
|
||||
await G.mongodb.collection('event').updateMany(
|
||||
{uid: call.uid, type: {$regex: "yuandan"}, hdid: parseInt(_hd.hdid)},
|
||||
{uid: call.uid, type: {$regex: `yuandan${_hd.hdid}`}},
|
||||
_setData
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user