clear:去掉一些不用的参数
This commit is contained in:
@@ -6,6 +6,7 @@ import { genCode } from '../pubUtils/util';
|
|||||||
* 跑马灯
|
* 跑马灯
|
||||||
**/
|
**/
|
||||||
@modelOptions({ schemaOptions: { id: false } })
|
@modelOptions({ schemaOptions: { id: false } })
|
||||||
|
@index({ code: 1 })
|
||||||
export default class Marquee extends BaseModel {
|
export default class Marquee extends BaseModel {
|
||||||
@prop({ required: true })
|
@prop({ required: true })
|
||||||
code: string; // 跑马灯唯一标识
|
code: string; // 跑马灯唯一标识
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { prop } from '@typegoose/typegoose';
|
|||||||
import { UserGachaType } from '../../db/UserGacha';
|
import { UserGachaType } from '../../db/UserGacha';
|
||||||
import { getTimeFun } from '../../pubUtils/timeUtil';
|
import { getTimeFun } from '../../pubUtils/timeUtil';
|
||||||
import { DicGacha } from '../../pubUtils/dictionary/DicGacha';
|
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 { gameData } from '../../pubUtils/data';
|
||||||
import { getFloorStatus } from '../../pubUtils/util';
|
import { getFloorStatus } from '../../pubUtils/util';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user