🎈 perf(清理): 删除不必要的打印
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user