import { getAction, postAction, putAction } from '@/api/manage'

// 新增数据字典
export const addDict = data => postAction('/sys/dict/add', data)
// 编辑数据字典
export const editDict = data => putAction('/sys/dict/edit', data)
// 重复校验
export const duplicateCheck = params => getAction('/sys/duplicate/check', params)

// 新增数据字典配置
export const addDictItem = params => postAction('/sys/dictItem/add', params)
// 编辑数据字典配置
export const editDictItem = params => putAction('/sys/dictItem/edit', params)
