栏目删除商品
DELETE
/shop/column/goods
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
id
integer | null
可选
columnId
integer | null
栏目ID
goodsId
integer | null
商品ID
示例
{
"id": 0,
"columnId": 0,
"goodsId": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'http://localhost:81/shop/column/goods' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"columnId": 0,
"goodsId": 0
}'
返回响应
🟢200成功
application/json
Body
code
integer | null
可选
msg
string | null
返回消息
data
boolean | null
返回数据
示例
{
"code": 0,
"msg": "",
"data": false
}