/*
 * @Author: your name
 * @Date: 2021-09-09 14:09:21
 * @LastEditTime: 2021-09-30 17:24:22
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /MedicalWisdomCheckSys/src/types/API.d.ts
 */
// @ts-ignore
/* eslint-disable */

declare namespace API {

  type LoginParams = {
    account:string,
    password:string,
    hospSign:string
  };
  
  type CurrentUserData = {
      token:string,
      name: string|number;
      avatar?: string;
      userid?: string|number;
      [propsName:string]:any
  };

  type LoginResult = {
    name:string,
    token:string,
    [propsName:string]:any
  }

  type EditUserInfoType = {
    account?:string,
    hospId?:number,
    hospitalStatus?:number,
    id?:number,
    name?:string,
    password?:string
  }
  
}
