// 系统权限-菜单管理-贾增超
import http from '@/apis/axios'
const api = 'admin/'
export default {
  // 分页查询
  list: (data, params) => http(api + 'menulist', data, 'post', params),
  // 更新
  update: (data, params) => http(api + 'menusave', data, 'post', params),
  // 菜单状态
  menustatus: (data, params) => http(api + 'menustatus', data, 'post', params),

  // 按钮
  // 列表
  actionList: (data, params) => http(api + 'menuaction', data, 'post', params),
  // 添加
  actionadd: (data, params) => http(api + 'actionadd', data, 'post', params),
  // 更新
  actionedit: (data, params) => http(api + 'actionedit', data, 'post', params),
  // 状态
  actionstatus: (data, params) =>
    http(api + 'actionstatus', data, 'post', params)
}
