| 对比新文件 |
| | |
| | | import request from '../../utils/request' |
| | | |
| | | // 鏌ヨ |
| | | export function fetchList (data) { |
| | | return request.post('/business/brand/page', data, { |
| | | trim: true |
| | | }) |
| | | } |
| | | |
| | | // 瀵煎嚭Excel |
| | | export function exportExcel (data) { |
| | | return request.post('/business/brand/exportExcel', data, { |
| | | trim: true, |
| | | download: true |
| | | }) |
| | | } |
| | | |
| | | // 鍒涘缓 |
| | | export function create (data) { |
| | | return request.post('/business/brand/create', data) |
| | | } |
| | | |
| | | // 淇敼 |
| | | export function updateById (data) { |
| | | return request.post('/business/brand/updateById', data) |
| | | } |
| | | |
| | | // 鍒犻櫎 |
| | | export function deleteById (id) { |
| | | return request.get(`/business/brand/delete/${id}`) |
| | | } |