interface.ts
1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
export interface Params {
msgId?: string;
}
export interface DataInfo {
newsInfo: NewsInfo;
upgradeCount: number | string;
content: string;
carTypeSwitch: boolean;
goodsSwitch: boolean;
payTypeSwitch: boolean;
scriptSwitch: boolean;
scriptText: string;
}
export interface NewsInfo {
month?: string;
staff?: StaffInfo;
totalPrice?: number;
carChildsBrandName?: string;
customerName?: string;
carBrand?: string;
merchantName?: string;
carSeriesName?: string;
orderTime?: string;
sunshineInspiration?: string;
goodsNames?: string[];
packageGoodsList?: PackageGoods[];
channelType?: number;
switchList: SwitchType[];
todayUpgradeCount: number;
todayOrderMoney: number;
monthUpgradeCount: number;
monthOrderMoney: number;
}
export interface PackageGoods {
packageCode: string;
packageName: string;
packageGoodsOrderList: PackageGoodsOrder[];
}
export interface PackageGoodsOrder {
upgradeGoodsAlias: string;
upgradeGoodsName: string;
}
export interface StaffInfo {
staffName: string;
staffJob: string;
avator: string;
upgradeCount: number;
notUpgradeCount: number;
orderMoney: number;
unitPricePerCustomer: number;
conversionRate: number;
}
export interface SwitchType {
switchType: number;
switchStatus: string;
switchText: string;
}