css样式 分开 设置为secoped
This commit is contained in:
53
ruoyi-ui/src/api/bookmark/tag.js
Normal file
53
ruoyi-ui/src/api/bookmark/tag.js
Normal file
@ -0,0 +1,53 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询书签_标签列表
|
||||
export function listTag(query) {
|
||||
return request({
|
||||
url: '/system/tag/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询书签_标签详细
|
||||
export function getTag(id) {
|
||||
return request({
|
||||
url: '/system/tag/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增书签_标签
|
||||
export function addTag(data) {
|
||||
return request({
|
||||
url: '/system/tag',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改书签_标签
|
||||
export function updateTag(data) {
|
||||
return request({
|
||||
url: '/system/tag',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除书签_标签
|
||||
export function delTag(id) {
|
||||
return request({
|
||||
url: '/system/tag/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出书签_标签
|
||||
export function exportTag(query) {
|
||||
return request({
|
||||
url: '/system/tag/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user