From 6c1fd9bcafdeedd8208db2ad5cb7e931cfdb1240 Mon Sep 17 00:00:00 2001 From: zhangxk Date: Wed, 20 Sep 2023 13:46:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E7=A8=B7=E4=B8=8B=E5=AD=A6?= =?UTF-8?q?=E5=AE=AB):=20db=E5=8E=BB=E9=99=A4=E6=9C=AA=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/db/RougelikeRecord.ts | 2 -- shared/db/RougelikeScore.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/shared/db/RougelikeRecord.ts b/shared/db/RougelikeRecord.ts index 76d9c1ee8..35ab4ca32 100644 --- a/shared/db/RougelikeRecord.ts +++ b/shared/db/RougelikeRecord.ts @@ -1,5 +1,3 @@ -import { SHOP_REFRESH_TYPE } from '../consts'; -import { getZeroPointOfTimeD } from '../pubUtils/timeUtil'; import BaseModel from './BaseModel'; import { getModelForClass, prop, DocumentType, index } from '@typegoose/typegoose'; diff --git a/shared/db/RougelikeScore.ts b/shared/db/RougelikeScore.ts index ac48c0299..ec7265c88 100644 --- a/shared/db/RougelikeScore.ts +++ b/shared/db/RougelikeScore.ts @@ -1,7 +1,7 @@ import BaseModel from './BaseModel'; import { getModelForClass, prop, DocumentType, index } from '@typegoose/typegoose'; -import { getZeroPoint, getZeroPointD } from '../pubUtils/timeUtil'; +import { getZeroPointD } from '../pubUtils/timeUtil'; import { SHOP_REFRESH_TYPE } from '../consts'; @index({ roleId: 1, refTime: 1 })