矿场列表

This commit is contained in:
saplf
2019-09-03 17:24:52 +08:00
parent 47d7819f2d
commit 8742eedac8
13 changed files with 492 additions and 263 deletions

View File

@@ -92,6 +92,55 @@ export interface Estate {
export type Estates = Estate[];
export interface MineBasic {
/**
* 昨日收益
*/
revenueLastday: string;
/**
* 总收益
*/
revenueAll: string;
/**
* 当前有效矿晶
*/
stoneAll: string;
}
export enum MineStatus {
Pending = 0, // 等待确认
Working = 1, // 正在挖矿
RunOut = 2, // 耗尽能源
}
/**
* 矿
*/
export interface Mine {
id: string;
amount: string;
/**
* 获赠日期
*/
validTime: string;
/**
* 到期日期
*/
invalidTime: string;
/**
* 矿晶状态
*/
status: MineStatus;
}
export type Mines = Mine[];
export enum MarketEstateAvailable {
No = 0,
Yes = 1,