You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
909 B
51 lines
909 B
import request from '@/utils/request' |
|
|
|
|
|
|
|
// 企业标签 API |
|
export const TagLibraryApi = { |
|
// 查询企业标签分页 |
|
getTagLibraryPage(params) { |
|
return request({ |
|
method: 'get', |
|
url: '/system/tag-library/page', |
|
params: params |
|
}) |
|
}, |
|
|
|
// 查询企业标签详情 |
|
getTagLibrary(id) { |
|
return request({ |
|
method: 'get', |
|
|
|
url: '/system/tag-library/get?id=' + id |
|
}) |
|
}, |
|
|
|
// 新增企业标签 |
|
createTagLibrary(data) { |
|
return request({ |
|
method: 'post', |
|
url: '/system/tag-library/create', |
|
data: data |
|
}) |
|
}, |
|
|
|
// 修改企业标签 |
|
updateTagLibrary(data) { |
|
return request({ |
|
method: 'put', |
|
url: '/system/tag-library/update', |
|
data: data |
|
}) |
|
}, |
|
|
|
// 删除企业标签 |
|
deleteTagLibrary(id) { |
|
return request({ |
|
method: 'delete', |
|
url: '/system/tag-library/delete?id=' + id |
|
}) |
|
}, |
|
|
|
}
|
|
|