import { InterFunction } from '~/api/interface';
// 用户登录
export type BackEndLoginType = InterFunction<
  { accountNo: string; passWord: string; remember?: boolean },
  {
    token: string;
    userAccountId: number;
    accountNo: string;
    portType: null;
    uid: null;
    phoneNum: null;
    userName: null;
    nickName: null;
  }
>;
// 上传图片
export type uploadOssType = InterFunction<any, { filePath: string }>;
// 断电上传
export type uploadOssBPType = InterFunction<any, any>;
