fix: upgrade mongoose and refactor

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2022-08-07 12:26:55 +08:00
parent 32f085bb69
commit 6defdd6ddd
15 changed files with 438 additions and 280 deletions

View File

@@ -14,7 +14,7 @@ import {
} from '@nestjs/common'
import { Interval } from '@nestjs/schedule'
import { BizException } from '~/common/exceptions/business.exception'
import { BizException } from '~/common/exceptions/biz.exception'
import { RedisKeys } from '~/constants/cache.constant'
import { ErrorCodeEnum } from '~/constants/error-code.constant'
import { DATA_DIR, NODE_REQUIRE_PATH } from '~/constants/path.constant'