debug:修改3个判断debug的方法的位置

This commit is contained in:
luying
2022-05-23 11:22:43 +08:00
parent 93ab2c7bbc
commit 4110ba242e
11 changed files with 30 additions and 33 deletions
+1 -14
View File
@@ -12,7 +12,6 @@ import { getTimeFunM } from './timeUtil';
import { Floor } from '../domain/activityField/gachaField';
import { WhiteListModel } from '../db/RegionWhiteList';
import { RewardInter } from './interface';
import { gameData } from './data';
const randomName = require("chinese-random-name");
const moment = require('moment');
const crypto = require('crypto');
@@ -820,16 +819,4 @@ export function addToMap<T>(map: Map<T, number>, id: T, value: number) {
// }, 0);
// return { topLineup, topLineupCe };
// }
export function isDebugTime() {
return gameData.serverConst.DEBUG_TIME === 1;
}
export function isDebugPay() {
return gameData.serverConst.DEBUG_PAY === 1;
}
export function isCheckWord() {
return gameData.serverConst.CHECK_WORD === 1;
}
// }