🐞 fix(服务器): 自动开服时更新战区
This commit is contained in:
@@ -62,7 +62,7 @@ export default class ServerStategy {
|
||||
@prop({ required: true, default: 0 })
|
||||
type: number; // 类型 1-定时 2-人数到了既时
|
||||
|
||||
@prop({ required: true, default: 0, type: String })
|
||||
@prop({ required: true, type: String })
|
||||
timers: string[]; // 开服时间点
|
||||
|
||||
@prop({ required: true, type: Number })
|
||||
@@ -78,7 +78,7 @@ export default class ServerStategy {
|
||||
this.isOpen = stategy.isOpen;
|
||||
this.maxPlayerCnt = stategy.maxPlayerCnt;
|
||||
this.type = stategy.type;
|
||||
this.timers = stategy.timers;
|
||||
if(stategy.timers) this.timers = stategy.timers;
|
||||
this.activityGroupId = stategy.activityGroupId;
|
||||
this.stopRegisterTime = stategy.stopRegisterTime;
|
||||
if(stategy.hasOpenMail) {
|
||||
|
||||
Reference in New Issue
Block a user