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