/**
 * 接口模块统一出口
 * 使用方式:
 *   import { loginPersonal, getCurrentMember, createAlipayOrder } from '@/api'
 *   或
 *   import * as authApi from '@/api/auth'
 */
export * from './types'
export * as auth from './auth'
export * as member from './member'
export * as payment from './payment'

// 同时直接导出常用方法,便于按需引入
export {
  AccountType,
  Gender,
  GenderLabel,
  PoliticalStatus,
  PoliticalStatusLabel,
  EducationLevel,
  EducationLevelLabel,
  RegionOrUnit,
  RegionOrUnitLabel,
  PersonalMemberType,
  PersonalMemberTypeLabel,
  UnitOrOrgType,
  UnitOrOrgTypeLabel,
  login,
  loginPersonal,
  loginCompany,
  register,
  registerPersonal,
  registerUnitOrOrg,
  registerCompany,
  sendSmsCode,
  logout,
} from './auth'

export {
  getCurrentMember,
  getMemberStatus,
  getMemberById,
  renewMember,
  submitInvoiceTitle,
} from './member'

export {
  createAlipayOrder,
  queryPayResult,
  getOrderDetail,
  cancelOrder,
} from './payment'
