MrShi
2024-02-05 5019ed6016b47221321bf395cd102dc4b51b4724
platform/src/api/business/brand.js
对比新文件
@@ -0,0 +1,31 @@
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}`)
}