diff --git a/shared/consts/statusCode.ts b/shared/consts/statusCode.ts index 893327501..6f8f9a164 100644 --- a/shared/consts/statusCode.ts +++ b/shared/consts/statusCode.ts @@ -334,6 +334,8 @@ export const STATUS = { GVG_LV_REWARD_NOT_REACH: { code: 21328, simStr: '请先领取上一级奖励再领取这一等级' }, GVG_TASK_NOT_ENOUGH: { code: 21329, simStr: '任务未达成' }, GVG_TASK_HAS_RECEIVED: { code: 21330, simStr: '任务已领取过' }, + GVG_BATTLE_CITY_FULL: { code: 21331, simStr: '城市已满员' }, + GVG_BATTLE_TEAM_INVALID: { code: 21332, simStr: '无效的队伍' }, // 通用 30000 - 30099 DIC_DATA_NOT_FOUND: { code: 30000, simStr: '数据表未找到' }, diff --git a/shared/domain/gvgField/returnData.ts b/shared/domain/gvgField/returnData.ts index f0b7590b3..a92d2b6cc 100644 --- a/shared/domain/gvgField/returnData.ts +++ b/shared/domain/gvgField/returnData.ts @@ -346,4 +346,10 @@ export class LeagueFarmMember { this.count = mines.length; this.output = mines.reduce((pre, cur) => (pre + cur.output||0), 0); } -} \ No newline at end of file +} + +export interface LeagueGood { + itemType: number, + id: number, + count: number +}