fix(商品审核): 更新审核功能,添加请求头以支持表单数据提交,提升接口兼容性

This commit is contained in:
Ryan Ran
2025-09-23 14:14:43 +08:00
parent bb610a7cd8
commit f4d06b2d7b

View File

@@ -128,7 +128,11 @@ export const getAuthGoodsListData = (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'
}
})
}
//查询分类绑定参数信息