import http from '@/apis/axios'
const api = 'admin/'

export default {
  list: (data, params) => http(api + 'managerlist', data, 'post', params),
  detail: (data, params) => http(api + 'managerinfo', data, 'post', params),
  add: (data, params) => http(api + 'manageradd', data, 'post', params),
  status: (data, params) => http(api + 'managerstatus', data, 'post', params),
  import: (data, params) => http(api + 'managerexport', data, 'post', params),
  users: (data, params) => http(api + 'user_role_list', data, 'post', params)
}
