import { HomeRecommend } from "./recommend";

export interface CDMResponse<T>{
  code: number;
  data: T;
  message: string;
}

type HomeRecommendResponse = CDMResponse<HomeRecommend>;
type BannerResponse = CDMResponse<Banners>;