debug:修复获取所有武将
This commit is contained in:
@@ -736,6 +736,7 @@ export class HeroHandler {
|
|||||||
await SkinModel.deleteMany({ roleId });
|
await SkinModel.deleteMany({ roleId });
|
||||||
await SchoolModel.deleteAccount(roleId);
|
await SchoolModel.deleteAccount(roleId);
|
||||||
await RoleCeModel.deleteMany({ roleId });
|
await RoleCeModel.deleteMany({ roleId });
|
||||||
|
await RoleModel.updateRoleInfo(roleId, { jewelCount: 0 });
|
||||||
let heroInfos = [];
|
let heroInfos = [];
|
||||||
|
|
||||||
for(let { actorId } of gameData.recruit) {
|
for(let { actorId } of gameData.recruit) {
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import { prop } from '@typegoose/typegoose';
|
import { prop } from '@typegoose/typegoose';
|
||||||
import { UserGachaType } from '../../db/UserGacha';
|
import { UserGachaType } from '../../db/UserGacha';
|
||||||
import { getTimeFun } from '../../pubUtils/timeUtil';
|
|
||||||
import { DicGacha } from '../../pubUtils/dictionary/DicGacha';
|
import { DicGacha } from '../../pubUtils/dictionary/DicGacha';
|
||||||
import { getGachaRemainFloor } from '../../pubUtils/util';
|
import { getGachaRemainFloor } from '../../pubUtils/util';
|
||||||
import { RewardInter } from '../../pubUtils/interface';
|
import { RewardInter } from '../../pubUtils/interface';
|
||||||
|
|||||||
Reference in New Issue
Block a user