export class Resp<T> {
  constructor({
    status = 200,
    msg = '',
    data,
  }: {
    status?: number;
    msg?: string;
    data: T;
  }) {
    this.status = status;
    this.msg = msg;
    this.data = data;
  }

  status?: number;
  msg?: string;
  data: T;
}
