2
0

feat:历史账单界面接通

This commit is contained in:
zhongzm
2025-01-09 16:19:19 +08:00
parent 671498b216
commit 10153e2c6b
3 changed files with 117 additions and 130 deletions

33
src/typings/api.d.ts vendored
View File

@@ -629,4 +629,37 @@ declare namespace Api {
/** Combined order params type */
type SubmitOrderParams = PackageOrderParams | RechargeOrderParams;
}
/**
* Namespace Bill
*
* Backend api module: "bill"
*/
namespace Bill {
/** Bill record information */
interface BillRecord {
id: string;
startTime: string | null;
endTime: string | null;
traffic: string | null;
amount: string;
status: number;
createTime: string;
}
/** Bill list response */
interface BillListResponse {
rows: BillRecord[];
total: number;
}
/** Bill query parameters */
interface BillQueryParams {
pageNum: number;
pageSize: number;
}
}
}