更新
This commit is contained in:
@@ -46,4 +46,24 @@ export default{
|
||||
method: 'get',
|
||||
})
|
||||
},
|
||||
getEdit(id) { // 根据id查询商品数据接口
|
||||
return request({
|
||||
url: `/oil-mall/mallProductInfo/getEdit/${id}`,
|
||||
method: 'get'
|
||||
})
|
||||
},
|
||||
saveProduct(data) { // 新增商品接口
|
||||
return request({
|
||||
url: `/oil-mall/mobile/saveProduct`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
updateProduct(data) { // 编辑更新商品数据接口
|
||||
return request({
|
||||
url: `/oil-mall/mobile/updateProduct`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user