clear:去掉一些不用的参数

This commit is contained in:
luying
2021-07-02 17:39:25 +08:00
parent e9280a38c9
commit d2e7edabea
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ import { genCode } from '../pubUtils/util';
* 跑马灯
**/
@modelOptions({ schemaOptions: { id: false } })
@index({ code: 1 })
export default class Marquee extends BaseModel {
@prop({ required: true })
code: string; // 跑马灯唯一标识

View File

@@ -4,7 +4,7 @@ import { prop } from '@typegoose/typegoose';
import { UserGachaType } from '../../db/UserGacha';
import { getTimeFun } from '../../pubUtils/timeUtil';
import { DicGacha } from '../../pubUtils/dictionary/DicGacha';
import { GACHA_OCCUPY_HID, GACHA_ID } from '../../consts';
import { GACHA_OCCUPY_HID, } from '../../consts';
import { gameData } from '../../pubUtils/data';
import { getFloorStatus } from '../../pubUtils/util';