export interface Result<T = any> {
  code: number;
  success: true | false;
  requestId: string;
  msg?: string;
  data: T;
}

// multipart/form-data: upload file
export interface UploadFileParams {
  // Other parameters
  data?: Recordable;
  // File parameter interface field name
  name?: string;
  // file name
  file: File | Blob;
  // file name
  filename?: string;

  [key: string]: any;
}
