🐞 fix(后台): 修复后台活动积分&大区配置bug
This commit is contained in:
@@ -80,8 +80,16 @@ export default class ServerStategy {
|
||||
this.timers = stategy.timers;
|
||||
this.activityGroupId = stategy.activityGroupId;
|
||||
this.stopRegisterTime = stategy.stopRegisterTime;
|
||||
if(stategy.hasCircleMail) this.circleMail = stategy.circleMail;
|
||||
if(stategy.hasOpenMail) this.openMail = stategy.openMail;
|
||||
if(stategy.hasCircleMail) {
|
||||
this.circleMail = stategy.circleMail;
|
||||
} else {
|
||||
this.circleMail = null;
|
||||
}
|
||||
if(stategy.hasOpenMail) {
|
||||
this.openMail = stategy.openMail;
|
||||
} else {
|
||||
this.openMail = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
export interface ServerStategyType extends Pick<DocumentType<ServerStategy>, keyof ServerStategy> { };
|
||||
|
||||
Reference in New Issue
Block a user