From ae4835488875988866f63f7bbb3d2c18d5d0ba70 Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 25 Mar 2021 20:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E9=94=81=E8=8B=B1=E9=9B=84=E6=97=B6?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E6=B7=BB=E5=8A=A0=E9=BB=98=E8=AE=A4=E5=8D=A1?= =?UTF-8?q?=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dao/AccountDao.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dao/AccountDao.ts b/src/dao/AccountDao.ts index bfd4055..11ec89b 100644 --- a/src/dao/AccountDao.ts +++ b/src/dao/AccountDao.ts @@ -5,7 +5,6 @@ import { updateRank } from '../service/rank' import { Card } from '../models/subdoc/Card' import { Hero } from '../models/subdoc/Hero' import { addHeroDefaultCardGroup } from './CardGroupDao' -import { Base } from '@typegoose/typegoose/lib/defaultClasses' import { ItemInfo } from '../logic/ItemDef' import ItemCtrl from '../logic/ItemCtrl' import { BagItem } from '../models/BagItem' @@ -65,7 +64,7 @@ export async function fetchAccount({ accountid, nickname, avatar, robot = false hero.exp = 0 if (!account.heros.has(cfg.id + '')) { account.heros.set(cfg.id + '', hero) - await addHeroDefaultCardGroup(accountid, hero.heroid, cardMap) + // await addHeroDefaultCardGroup(accountid, hero.heroid, cardMap) } } }