注释掉一些log
This commit is contained in:
@@ -62,7 +62,7 @@ export class RechargeMoneyHandler {
|
||||
}
|
||||
|
||||
let notGetRecord = playerData.recordArr[0];
|
||||
console.log('notGetRecord', JSON.stringify(notGetRecord));
|
||||
// console.log('notGetRecord', JSON.stringify(notGetRecord));
|
||||
await ActivityRechargeMoneyModel.addRecord(notGetRecord._id, item.id, `${item.gid}&${item.count}`);
|
||||
let goods = await addItems(roleId, roleName, sid, [{ id: item.gid, count: item.count }], ITEM_CHANGE_REASON.RECHARGE_REWARD)
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ export class NormalBattleHandler {
|
||||
if (warInfo.warType == WAR_TYPE.COM_BATTLE) {
|
||||
return resResult(STATUS.BATTLE_END_WRONG_TYPE);
|
||||
}
|
||||
console.log('####### warInfo.warType', warInfo.warType)
|
||||
// console.log('####### warInfo.warType', warInfo.warType)
|
||||
|
||||
const BattleRecord = await BattleRecordModel.getBattleRecordByCode(battleCode, true);
|
||||
if (!BattleRecord || BattleRecord.status != 0) {
|
||||
@@ -255,7 +255,7 @@ export class NormalBattleHandler {
|
||||
await challengeDailyGK(serverId, roleId, activityId, battleId)
|
||||
}
|
||||
} else if (warInfo.warType == WAR_TYPE.ACT_NEW_HERO_GK) {
|
||||
console.log('##### warInfo.warType', warInfo.warType, isSuccess)
|
||||
// console.log('##### warInfo.warType', warInfo.warType, isSuccess)
|
||||
if (isSuccess) {
|
||||
isFirst = await challengeNewHeroGK(serverId, roleId, activityId, battleId)
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ export class GateActivityHandler {
|
||||
obj.setMemberRecord(code, newMemberRecord);
|
||||
|
||||
let nextWeek = <number>getTimeFun().getAfterDayWithHour(7);
|
||||
console.log('####### nextWeek', nextWeek)
|
||||
// console.log('####### nextWeek', nextWeek)
|
||||
let index = getGAIndexInPinus(this.aid);
|
||||
// 更新redis数据
|
||||
let myR = new Rank(REDIS_KEY.USER_GATE_ACTIVITY, { serverId, guildCode, index }, true);
|
||||
|
||||
@@ -283,7 +283,7 @@ export class GuildTrainHandler {
|
||||
let { trainInstances } = getArmyTrainJuDian(trainId);
|
||||
let trainInfo = getGuildTrainGkInfo(trainId, hid);
|
||||
let { progress } = findWhere(trainInstances, { hid });
|
||||
console.log('progress = ' + progress);
|
||||
// console.log('progress = ' + progress);
|
||||
let guildTrain = await GuildTrainModel.findTrainInstanceBoxByIndex(code, trainId, hid, progress);
|
||||
if (!guildTrain) {
|
||||
res.releaseCallback();//解锁
|
||||
|
||||
Reference in New Issue
Block a user