import service from '../service'
|
// 品牌管理api
|
|
export class BrandApi {
|
getList = (params, showLoading = true) => {
|
return service.get('/awl-product-service/brand/listPage', { params, showLoading })
|
}
|
|
updateInfo = (params) => {
|
return service.post('/awl-product-service/brand/updateBrand', params)
|
}
|
|
addInfo = (params) => {
|
return service.post('/awl-product-service/brand/saveBrand', params)
|
}
|
|
/**
|
* 获取分类品牌列表
|
* @param {*} params
|
*/
|
getCategoryBrandList = (params) => {
|
return service.get('/awl-product-service/saveBrand/listPageByCatId', { params })
|
}
|
}
|
export default new BrandApi()
|