// 账号
import http from '@/apis/axios'
const api = 'admin/'
export default {
  // 分页查询
  list: (data, params) => http(api + 'user_role_list', data, 'post', params),
  // 详情
  detail: (data, params) => http(api + 'userCompanyInfo', data, 'post', params),
  // 更新
  update: (data, params) => http(api + 'setrole', data, 'post', params),
  rolelist: (data, params) => http(api + 'rolelist', data, 'post', params)
}
