mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 16:35:53 +08:00
fix(商品审核): 更新审核功能,添加请求头以支持表单数据提交,提升接口兼容性
This commit is contained in:
@@ -128,7 +128,11 @@ export const getAuthGoodsListData = (params) => {
|
|||||||
}
|
}
|
||||||
// 审核商品
|
// 审核商品
|
||||||
export const authGoods = (params) => {
|
export const authGoods = (params) => {
|
||||||
return putRequest(`/goods/goods/auth`, params)
|
return putRequest(`/goods/goods/auth`, params,{
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'application/x-www-form-urlencoded'
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
//查询分类绑定参数信息
|
//查询分类绑定参数信息
|
||||||
|
|||||||
Reference in New Issue
Block a user