import request from '@/utils/request'

export function save(data) {
  return request({
    url: '/api/admin/user-department/save',
    method: 'post',
    data
  })
}

export function list(params) {
  return request({
    url: '/api/admin/user-department/index',
    method: 'get',
    params
  })
}

export function show(params) {
  return request({
    url: '/api/admin/user-department/show',
    method: 'get',
    params
  })
}


export function del(params) {
  return request({
    url: '/api/admin/user-department/destroy',
    method: 'get',
    params
  })
}
