interface.ts 1.28 KB
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;
}