feat:前端
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
export interface ApiEnvelope<T> {
|
||||
code: number;
|
||||
message: string;
|
||||
data: T;
|
||||
trace_id?: string;
|
||||
}
|
||||
|
||||
export interface FundProduct {
|
||||
id: number;
|
||||
product_code: string;
|
||||
product_name: string;
|
||||
product_type: string;
|
||||
risk_level: string;
|
||||
expected_return: number | null;
|
||||
nav: number | null;
|
||||
nav_date: string | null;
|
||||
fee_rate: number;
|
||||
term_days: number;
|
||||
fund_manager: string | null;
|
||||
status: string;
|
||||
support_purchase: boolean;
|
||||
support_dca: boolean;
|
||||
}
|
||||
|
||||
export interface FundProductList {
|
||||
total: number;
|
||||
page: number;
|
||||
page_size: number;
|
||||
items: FundProduct[];
|
||||
}
|
||||
|
||||
export interface UserPayload {
|
||||
id: number;
|
||||
username: string;
|
||||
user_type: string;
|
||||
employee_role: string | null;
|
||||
customer_level: string | null;
|
||||
status: string;
|
||||
}
|
||||
Reference in New Issue
Block a user