积分商城

This commit is contained in:
2024-03-28 09:43:43 +08:00
parent 8d314157fe
commit de92031284
11 changed files with 1301 additions and 156 deletions

View 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',
})
},
}