import service from '../service'
|
|
// 属性管理
|
export class ProductPropMetaApi {
|
getList= (params, showLoading = true) => {
|
return service.get('/awl-product-service/productPropMeta/listByPage', { params, showLoading })
|
}
|
|
updateInfo = (params) => {
|
return service.post('/awl-product-service/productPropMeta/update', params)
|
}
|
|
addInfo = (params) => {
|
return service.post('/awl-product-service/productPropMeta/save', params)
|
}
|
|
getInfo = (params) => {
|
return service.get('/awl-product-service/productPropMeta/findById', { params, showLoading: true })
|
}
|
|
getValueCheckTypes=(params) => {
|
return service.get('/awl-product-service/productPropMeta/getValueCheckTypes', { params })
|
}
|
|
/**
|
* 获取分类属性列表
|
* @param {*} params
|
*/
|
getCategoryPropList = (params) => {
|
return service.get('/awl-product-service/saveProp/listByPage', { params })
|
}
|
|
deleteItem = (params) => {
|
return service.post('/awl-product-service/productPropMeta/deleteById', params)
|
}
|
}
|
export default new ProductPropMetaApi()
|