清理:删除某些console.log
This commit is contained in:
@@ -16,7 +16,7 @@ Filter.prototype.before = async function (routeRecord: RouteRecord, msg: any, se
|
||||
const roleId: string = session.get('roleId');
|
||||
let guildCode: string = session.get('guildCode');
|
||||
let guildAuth: number = session.get('guildAuth');
|
||||
console.log('********guildAuth', guildAuth);
|
||||
// console.log('********guildAuth', guildAuth);
|
||||
|
||||
const { code, roleId: hisRoleId } = msg;
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ export class GachaPull {
|
||||
this.hasGetFloor = false;
|
||||
this.floorCount = 0;
|
||||
}
|
||||
console.log('******', this.floorCount, this.dicFloorCount, this.hasGetFloor)
|
||||
// console.log('******', this.floorCount, this.dicFloorCount, this.hasGetFloor)
|
||||
return result;
|
||||
} else {
|
||||
return base
|
||||
|
||||
@@ -43,7 +43,7 @@ function catchError(T) {
|
||||
for(let name of names) {
|
||||
if(typeof T[name] == 'function') {
|
||||
T2[name] = async (...args: any) => {
|
||||
console.log('*****', args)
|
||||
// console.log('*****', args)
|
||||
try {
|
||||
return await T[name].apply(null, args)
|
||||
} catch (e) {
|
||||
|
||||
@@ -184,7 +184,7 @@ export class GuildRankParam {
|
||||
let leader = <RoleType>guild.leader;
|
||||
let _leader = new GuildLeader(leader);
|
||||
this.leader = _leader;
|
||||
console.log('*****', guild.isReducedCe, guild.guildCe, reduceCe(guild.guildCe))
|
||||
// console.log('*****', guild.isReducedCe, guild.guildCe, reduceCe(guild.guildCe))
|
||||
if(guild.isReducedCe) {
|
||||
this.guildCe = guild.guildCe;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user