积分商城
This commit is contained in:
49
api/packageIntegral/productList.js
Normal file
49
api/packageIntegral/productList.js
Normal file
@@ -0,0 +1,49 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export default{
|
||||
productByPage(data) { // 商品分页查询
|
||||
return request({
|
||||
url: `/oil-mall/mobile/productByPage`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
getTopInfo() { // 获取头部信息
|
||||
return request({
|
||||
url: `/oil-mall/mobile/getTopInfo`,
|
||||
method: 'get',
|
||||
})
|
||||
},
|
||||
productStatus(data) { // 上下架接口
|
||||
return request({
|
||||
url: `/oil-mall/mobile/productStatus`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
productAuditHistory(data) { // 审核信息接口
|
||||
return request({
|
||||
url: `/oil-mall/mobile/productAuditHistory`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
classification() { // 商品分类-树形接口
|
||||
return request({
|
||||
url: `/oil-mall/mobile/classification`,
|
||||
method: 'get',
|
||||
})
|
||||
},
|
||||
getProductBrands() { // 品牌信息接口
|
||||
return request({
|
||||
url: `/oil-mall/mobile/getProductBrands`,
|
||||
method: 'get',
|
||||
})
|
||||
},
|
||||
getAttributesType() { // 属性类型接口
|
||||
return request({
|
||||
url: `/oil-mall/mobile/getAttributesType`,
|
||||
method: 'get',
|
||||
})
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user