注释掉一些log

This commit is contained in:
luying
2022-08-26 15:50:06 +08:00
parent 4b2e7d9d0f
commit 26b18b7ba0
17 changed files with 29 additions and 29 deletions
@@ -65,7 +65,7 @@ export async function getPlayerActivityData(activityId: number, serverId: number
}
let records = (playerSelfServerData && playerSelfServerData.challengeRecords) ? playerSelfServerData.challengeRecords : [];
for (let record of records) {
console.log(challengeBeginTime, challengeEndTime, record.time)
// console.log(challengeBeginTime, challengeEndTime, record.time)
if (record.time >= challengeBeginTime && record.time <= challengeEndTime) {
playerData.challengeCount++;
}
@@ -75,7 +75,7 @@ export async function sendRankMail(data: TimeLimitRankData, serverId: number) {
let reward = data.getRewardByRank(rank);
if(reward) {
let guild = await GuildModel.findByCode(code, serverId, '+members');
console.log(guild.members)
// console.log(guild.members)
for(let roleId of guild.members) {
await sendMailByContent(MAIL_TYPE.TIME_LIMIT_RANK, roleId, {
params: [data.tabName,`${rank}`],
+1 -1
View File
@@ -39,7 +39,7 @@ export function getRandSeResult(id: number, randSe: RandSe[], originSe: RandSe[]
randomResult.push(...allRandom);
}
console.log('##### getRandSeResult', startId, effectCount)
// console.log('##### getRandSeResult', startId, effectCount)
for (let i = startId; i < effectCount; i++) {
if(randSe[i]) {
@@ -620,7 +620,7 @@ export async function sendGuildCityDeclare(cityId: number, declareGuildCode: str
* @param serverId 区id
*/
export async function calWoodenHorseAndSend(serverId: number) {
console.log('calWoodenHorseAndSend');
// console.log('calWoodenHorseAndSend');
let obj = getRaceActivityObj();
return await obj.calServerHorses(serverId);
}
+1 -1
View File
@@ -143,7 +143,7 @@ export class WarReward {
// let warType = this.warInfo.warType;
if(this.isSuccess) { // 成功了才给固定奖励
console.log(this.fixReward)
// console.log(this.fixReward)
if(this.fixReward) this.handleFixReward(num);
if(this.conditionReward) this.handleConditionReward(num);
if(this.randomReward) await this.handleRandomReward(num);