diff --git a/shared/db/Game.ts b/shared/db/Game.ts index cc751b843..70985736f 100644 --- a/shared/db/Game.ts +++ b/shared/db/Game.ts @@ -1,7 +1,7 @@ import { APP_ID } from './../consts'; import BaseModel from './BaseModel'; import { index, getModelForClass, prop, DocumentType, modelOptions } from '@typegoose/typegoose'; -import { getSeconds } from 'app/pubUtils/timeUtil'; +import { getSeconds } from '../pubUtils/timeUtil'; class ServerInfo { @prop({ required: true }) diff --git a/shared/pubUtils/httpUtil.ts b/shared/pubUtils/httpUtil.ts index ca661180f..128e2d7ac 100644 --- a/shared/pubUtils/httpUtil.ts +++ b/shared/pubUtils/httpUtil.ts @@ -1,6 +1,6 @@ import * as request from "request-promise"; import * as crypto from 'crypto' -import { BANTU_VID_ADDR, BANTU_VID_APP_KEY } from '@consts'; +import { BANTU_VID_ADDR, BANTU_VID_APP_KEY } from '../consts'; /** * 实名认证