🐞 fix(gvg): 补充错误或遗漏的返回字段
This commit is contained in:
@@ -215,6 +215,7 @@ export class OppDetailData{
|
||||
isRobot: boolean;
|
||||
vestigeId: number;
|
||||
battleCode: string;
|
||||
warId: number;
|
||||
status: number;
|
||||
time: number;
|
||||
heroes: OppDetailHeroData[] = [];
|
||||
@@ -223,6 +224,7 @@ export class OppDetailData{
|
||||
constructor(rec: GVGVestigeRecType, obj: {status: number, time: number}) {
|
||||
this.vestigeId = rec.vestigeId;
|
||||
this.battleCode = rec.battleCode;
|
||||
this.warId = rec.warId;
|
||||
this.roleId = rec.defenseRoleId;
|
||||
this.isRobot = rec.defenseInfo.isRobot;
|
||||
this.status = obj.status;
|
||||
|
||||
Reference in New Issue
Block a user