You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.0 KiB
49 lines
1.0 KiB
8 months ago
|
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',
|
||
|
})
|
||
|
},
|
||
|
}
|