资源:更新活动类型

This commit is contained in:
luying
2021-06-28 17:01:19 +08:00
parent d1a5a5cd21
commit 15ab14aeaf
4 changed files with 61 additions and 35 deletions
+2 -2
View File
@@ -2,9 +2,9 @@
* 多人邮件
*/
import MailTemp from './MailTemp';
import { index, getModelForClass, prop, DocumentType, Ref, mongoose } from '@typegoose/typegoose';
import { index, getModelForClass, prop, DocumentType } from '@typegoose/typegoose';
import { nowSeconds } from '../pubUtils/timeUtil';
import { MAIL_STATUS, MAIL_TYPE } from '../consts/constModules/mailConst';
import { MAIL_STATUS } from '../consts/constModules/mailConst';
import { findWhere } from 'underscore';
class RoleStatus {
+2 -2
View File
@@ -1,7 +1,7 @@
import MailTemp from './MailTemp';
import { index, getModelForClass, prop, DocumentType, Ref, mongoose } from '@typegoose/typegoose';
import { index, getModelForClass, prop, DocumentType } from '@typegoose/typegoose';
import { nowSeconds } from '../pubUtils/timeUtil';
import { MAIL_STATUS, MAIL_TYPE } from '../consts/constModules/mailConst';
import { MAIL_STATUS } from '../consts/constModules/mailConst';
@index({ roleId: 1 })