fix:修复开服删除邮件
This commit is contained in:
parent
99500b7bf4
commit
24ca69bc08
@ -5,7 +5,7 @@ export default async function (call: ApiCall<ReqDelCrossEmail, ResDelCrossEmail>
|
|||||||
let eids = call.req.eids;
|
let eids = call.req.eids;
|
||||||
G.mongodb.collection("email").updateMany({
|
G.mongodb.collection("email").updateMany({
|
||||||
_id: {$in: eids.map((i) => G.mongodb.conversionId(i))}
|
_id: {$in: eids.map((i) => G.mongodb.conversionId(i))}
|
||||||
}, {isdel: true})
|
}, {$set: {isdel: true}})
|
||||||
|
|
||||||
call.succ({result:true})
|
call.succ({result:true})
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user