注释掉一些log
This commit is contained in:
@@ -100,11 +100,11 @@ export class UpdateRegionParams {
|
||||
|
||||
checkParams() {
|
||||
if(!this.id || !this.name || !this.prefix || !isString(this.versionCode) || !isString(this.curVersion) || !isString(this.updateResUrl)) {
|
||||
console.log('1111', !this.id, !this.name, !this.prefix, !isString(this.versionCode),!isString(this.curVersion), !isString(this.updateResUrl))
|
||||
// console.log('1111', !this.id, !this.name, !this.prefix, !isString(this.versionCode),!isString(this.curVersion), !isString(this.updateResUrl))
|
||||
return false
|
||||
}
|
||||
if(this.isOpen && (!this.maxPlayerCnt || !isArray(this.timers) || this.timers.length <= 0 || !isArray(this.activityGroupId) || this.activityGroupId.length <= 0 )) {
|
||||
console.log('2222')
|
||||
// console.log('2222')
|
||||
return false
|
||||
}
|
||||
return true;
|
||||
@@ -200,7 +200,7 @@ export class CreateServerParam {
|
||||
}
|
||||
|
||||
checkParams() {
|
||||
console.log('##### createNew', this.env, this.openTime, this.stopRegisterTime, this.hasOpenMail, this.hasCircleMail)
|
||||
// console.log('##### createNew', this.env, this.openTime, this.stopRegisterTime, this.hasOpenMail, this.hasCircleMail)
|
||||
if(!this.env || !this.openTime || !this.stopRegisterTime ) {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user