import request from '@/utils/request'

// 获取标签列表
export function getTagList(params) {
  return request({
    url: '/goods/tag/page',
    method: 'get',
    params
  })
}

// 新增标签
export function editTag(params) {
  return request({
    url: '/goods/tag/add',
    method: 'post',
    params
  })
}