WXL
2025-02-12 f6bc6ed2dec9cd60853db928fa6e56a92ab5de0d
src/api/system/tag.js
@@ -3,8 +3,8 @@
// 查询标签列表
export function listTag(query) {
  return request({
    url: '/system/tag/list',
    method: 'get',
    url: '/base/tag/list',
    method: 'post',
    params: query
  })
}
@@ -12,7 +12,7 @@
// 查询标签详细
export function getTag(tagid) {
  return request({
    url: '/system/tag/' + tagid,
    url: '/base/tag/' + tagid,
    method: 'get'
  })
}
@@ -20,7 +20,7 @@
// 新增标签
export function addTag(data) {
  return request({
    url: '/system/tag',
    url: '/base/tag',
    method: 'post',
    data: data
  })
@@ -29,8 +29,8 @@
// 修改标签
export function updateTag(data) {
  return request({
    url: '/system/tag',
    method: 'put',
    url: '/base/tag/edit',
    method: 'post',
    data: data
  })
}
@@ -38,7 +38,7 @@
// 删除标签
export function delTag(tagid) {
  return request({
    url: '/system/tag/' + tagid,
    method: 'delete'
    url: '/base/tag/remove/' + tagid,
    method: 'get'
  })
}