// 注册用户参数
interface UserRegisterParams {
  username: string;
  nickname: string;
  password: string;
  email: string;
  phone: string;
}
// 登录用户参数
interface UserLoginParams {
  username?: string;
  password?: string;
  loginType?: string;
}
// 退出登录参数
interface UserLogoutParams {
  username: string;
  password: string;
}
// 登录返回参数
interface UserLoginResult {
  accessToken: string;
  refreshToken: string;
  accessTokenExpiresInSeconds: number;
  refreshTokenExpiresInSeconds: number;
}
// 用户信息
interface UserInfo {
  username: string,
  accessToken: string;
  refreshToken: string;
  accessTokenExpiresInSeconds: number;
  refreshTokenExpiresInSeconds: number;
  phone: number,
  email: string,
  avatar: string,
}