// 单礼品项
export interface GiftItem {
  id: number;
  name: string;
  amount: number;
  points: number;
  num: number;
  expirationdate: number;
  channel: string;
  notes: string;
  status: boolean;
}

// body整体结构
export interface GiftListBody {
  success: boolean;
  message: string;
  data: Record<string, GiftItem>; // key:"1","2"...
}

// 请求外层结构
export type FetchWrap<T> = {
  status: number;
  body: T;
};