问卷
This commit is contained in:
@@ -126,6 +126,7 @@ export class CreateRegionParam {
|
||||
env: string = ''; // 环境变量
|
||||
gmLink: string; // 对应后台链接
|
||||
gameHost: string; // 长链接
|
||||
webHost: string; // 短链接
|
||||
gmPort: number; // 后台使用的connector端口
|
||||
|
||||
constructor(obj: any) {
|
||||
@@ -135,7 +136,7 @@ export class CreateRegionParam {
|
||||
}
|
||||
|
||||
checkParams() {
|
||||
if(!this.name || !this.prefix || !this.env || !this.gmLink || !this.gameHost || !this.gmPort || !isNumber(this.gmPort) ) {
|
||||
if(!this.name || !this.prefix || !this.env || !this.gmLink || !this.gameHost || !this.gmPort || !this.webHost || !isNumber(this.gmPort) ) {
|
||||
return false
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user