export type RoleType = '' | '*' | 'user';

export interface UserBean {
  token?: string;
  address: string;
  balance: number;
  birthday: string;
  birthdayMD: string;
  birthdayType: number;
  card: string;
  companyId: string;
  consumption: string;
  consumptionDay: string;
  couponsCount: number;
  createTime: string;
  creatorId: string;
  creatorName: string;
  customerPrice: string;
  email: string;
  gender: number;
  gold: string;
  goodsNum: number;
  id: string;
  image: string | 'https://img.1216.top/lake/def_avatar.png';
  integration: number;
  lastConsumTime: string;
  levelEntity: any;
  levelId: string;
  levelName: string;
  maOpenId: string;
  memberLabel: string;
  name: string;
  nickName: string;
  openId: string;
  orderNum: number;
  ownerId: string;
  ownerName: string;
  registerDay: number;
  relatedRate: number;
  remark: string;
  salePrice: number;
  source: string;
  status: string;
  storeId: string;
  telephone: string;
  totalConsumption: string;
  totalIncoming: number;
  totalIntegral: number;
  unionId: string;
  updateTime: string;
  useCouponsPrice: number;
  wirelinedTelephone: string;
}

export type providerType =
  | 'weixin'
  | 'qq'
  | 'sinaweibo'
  | 'xiaomi'
  | 'apple'
  | 'univerify'
  | undefined;
