import http from '@/apis/userAxios'

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

}
