import { post, get } from '@/utils/request'

// 获取标签列表
export const queryTagList = (params) => post('/admin/common/tag/list', params)

// 保存标签
export const tagSave = (params) => post('/admin/common/tag/save', params)

// 修改标签
export const tagUpdate = (params) => post('/admin/common/tag/update', params)

// 删除标签
export const tagRemove = (id) => get(`/admin/common/tag/remove?id=${id}`)

export const updateStatus = (params) => post(`/admin/common/tag/updateStatus`, params)
