|
|
## 1、上架申请##
|
|
|
|
|
|
更新商品销售价(/SellerSknStatusController/productOnSale)
|
|
|
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|----:|
|
|
|
|productSkns|string|否|"[512587916,512587914]"|skn列表json字符串|
|
|
|
|targetStatus|int|否|1|默认上架填1|
|
|
|
|userId|int|否|2234|登陆账号的ID|
|
|
|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://127.0.0.1:8088/platform/SellerSknStatusController/productOnSale
|
|
|
|
|
|
## 请求样例数据
|
|
|
``` json
|
|
|
请求样例:
|
|
|
{"productSkns":"[512587916,512587914]", "userId":222, "targetStatus":1}
|
|
|
正常返回:
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "申请上架成功"
|
|
|
}
|
|
|
异常返回:
|
|
|
{
|
|
|
"code": 10001,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "参数校验错误"
|
|
|
}
|
|
|
{
|
|
|
"code": 10003,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "512587918商品无库存"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## 1、下架申请##
|
|
|
|
|
|
更新商品销售价(/SellerSknStatusController/productOutSale)
|
|
|
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|----:|
|
|
|
|productSkns|string|否|"[512587916,512587914]"|skn列表json字符串|
|
|
|
|targetStatus|int|否|0|默认下架填0|
|
|
|
|userId|int|否|2234|登陆账号的ID|
|
|
|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://127.0.0.1:8088/platform/SellerSknStatusController/productOutSale
|
|
|
|
|
|
## 请求样例数据
|
|
|
``` json
|
|
|
请求样例:
|
|
|
{"productSkns":"[512587916,512587914]", "userId":222, "targetStatus":0}
|
|
|
正常返回:
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "申请下架成功"
|
|
|
}
|
|
|
异常返回:
|
|
|
{
|
|
|
"code": 10001,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "参数校验错误"
|
|
|
}
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|