| | |
| | | // 修改标签 |
| | | export function toamendtag(data) { |
| | | return request({ |
| | | url: '/base/tag', |
| | | method: 'put', |
| | | url: '/base/tag/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | |
| | | isupload |
| | | } |
| | | return request({ |
| | | url: '/base/tag', |
| | | method: 'put', |
| | | url: '/base/tag/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | // 修改标签类别 |
| | | export function toamendtagcategory(data) { |
| | | return request({ |
| | | url: '/system/tagcategory', |
| | | method: 'put', |
| | | url: '/system/tagcategory/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | | // 新增标签 |
| | | export function addapitag(data) { |
| | | return request({ |
| | | url: '/base/tag', |
| | | url: '/base/tag/add', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | |
| | | */ |
| | | export function deletetag(tagids) { |
| | | return request({ |
| | | url: '/base/tag/' + tagids, |
| | | method: 'delete', |
| | | url: '/base/tag/remove/' + tagids, |
| | | method: 'get', |
| | | }) |
| | | }; |
| | | /** |
| | |
| | | */ |
| | | export function deletetagcategory(tagid) { |
| | | return request({ |
| | | url: '/system/tagcategory/' + tagid, |
| | | method: 'delete', |
| | | url: '/system/tagcategory/remove/' + tagid, |
| | | method: 'get', |
| | | }) |
| | | }; |
| | | /** |