🎈 perf(清理): 删除不必要的打印

This commit is contained in:
luying
2023-03-15 10:20:35 +08:00
parent 3e80616e49
commit ea95c5f2a5
3 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ export class GachaHandler {
let resultList: GachaResultIndb[] = [], heroInfo: CreateHeroParam[] = [], items: RewardInter[] = [], consume: ItemInter[] = [];
for(let { dic, min, max } of getDicGachas(dicGacha.gachaType, historyCount, count)) {
console.log('##########', dic, min, max)
// console.log('##########', dic, min, max)
let _count = max + 1 - min;
let gachaPull = new GachaPull(dic, { hope, floor, pickHero });
let userHeroes = await HeroModel.findByRole(roleId);

View File

@@ -373,7 +373,7 @@ export class HeroHandler {
}
if (newJobStage == hero.jobStage) return resResult(STATUS.ROLE_MATERIAL_NOT_ENOUGH);
let consumes = check.getConsume();
console.log('#### consumes', consumes);
// console.log('#### consumes', consumes);
let result = await handleCost(roleId, sid, consumes, ITEM_CHANGE_REASON.HERO_JOB_TRAIN);
if (!result)
return resResult(STATUS.BATTLE_CONSUMES_NOT_ENOUGH);

View File

@@ -395,7 +395,7 @@ export async function setTrainLv(guildCode: string, trainLv: string) {
export async function calHiddenData(uid: number) {
let result = await HiddenDataByIdModel.findAllData();
console.log('####', JSON.stringify(result))
// console.log('####', JSON.stringify(result))
let heroes: number[] = [], goods: number[] = [];
await HiddenDataModel.clearData();
for(let { _id, ids } of result) {