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