背包:装备邮件处理

This commit is contained in:
luying
2021-08-03 14:00:42 +08:00
parent e4f3a932f9
commit 76aedd5425
7 changed files with 112 additions and 41 deletions
+5
View File
@@ -38,6 +38,11 @@ export default class ServerMail extends MailTemp {
return result;
}
public static async getMailById(_id: string, lean = true) {
const result: ServerMailType = await ServerMailModel.findOne({ _id }).lean(lean);
return result;
}
/**
* @description 创建邮件
* @param params