✨ feat(domain): 添加 gvg 部分返回值和状态码
This commit is contained in:
@@ -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: '数据表未找到' },
|
||||
|
||||
@@ -346,4 +346,10 @@ export class LeagueFarmMember {
|
||||
this.count = mines.length;
|
||||
this.output = mines.reduce((pre, cur) => (pre + cur.output||0), 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export interface LeagueGood {
|
||||
itemType: number,
|
||||
id: number,
|
||||
count: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user