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

feat:替换编辑商品接口

parent a9c8bf0d
...@@ -35,7 +35,7 @@ export async function addGoods(params) { ...@@ -35,7 +35,7 @@ export async function addGoods(params) {
// 编辑商品 // 编辑商品
export async function editGoods(params) { export async function editGoods(params) {
return request.post('/product/api/merchant/edit', { return request.post('/api/merchants/products/edit', {
prefix: goodsApi, prefix: goodsApi,
data: params, data: params,
}); });
......
...@@ -78,7 +78,7 @@ export const merchantProductAdd = data => ...@@ -78,7 +78,7 @@ export const merchantProductAdd = data =>
}); });
export const merchantProductEdit = data => export const merchantProductEdit = data =>
request.post('/product/api/merchant/edit', { request.post('/api/merchants/products/edit', {
prefix: goodsApi, prefix: goodsApi,
data, 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