Commit 3f8f6486 authored by 靳野's avatar 靳野

feat:替换编辑商品接口

parent a9c8bf0d
......@@ -35,7 +35,7 @@ export async function addGoods(params) {
// 编辑商品
export async function editGoods(params) {
return request.post('/product/api/merchant/edit', {
return request.post('/api/merchants/products/edit', {
prefix: goodsApi,
data: params,
});
......
......@@ -78,7 +78,7 @@ export const merchantProductAdd = data =>
});
export const merchantProductEdit = data =>
request.post('/product/api/merchant/edit', {
request.post('/api/merchants/products/edit', {
prefix: goodsApi,
data,
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment