import http from '@/apis/axios'

export default {
  // 获取验证码
  verfiy: (data, params) => http(`admin/verfiy`, data, 'post', params),
  // 密码重置
  resetpwd: (data, params) => http(`admin/resetpwd`, data, 'post', params),
  // 手机号更换
  resetmobile: (data, params) =>
    http(`admin/resetmobile`, data, 'post', params),
  // 密码修改
  setpwd: (data, params) => http(`admin/setpwd`, data, 'post', params),
  // 获取导航列表
  list: (data, params) => http(`admin/menu`, data, 'post', params),
  // 获取个人信息
  detail: (data, params) => http(`admin/userinfo`, data, 'post', params),
  // 获取最新版本号
  version: (data, params) => http(`admin/versioninfo`, data, 'post', params),
}
