...
|
...
|
@@ -71,56 +71,49 @@ http://127.0.0.1:8088/platform/seller/consult/getConsultList |
|
|
"message": "success"
|
|
|
}
|
|
|
|
|
|
异常返回:
|
|
|
|
|
|
{
|
|
|
"code": 500,
|
|
|
"data": [],
|
|
|
"md5": "8b233b3ba501d3563be331aa58d0fe0d",
|
|
|
"message": "NetSale Product List error."
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 2、更新VIP status##
|
|
|
## 2、回复咨询##
|
|
|
|
|
|
更新VIP status(/sellerVip/batchChangeStatus)
|
|
|
回复咨询(/seller/consult/reply)
|
|
|
|
|
|
#### 请求参数(默认值都传null)
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|----:|
|
|
|
|shopsId|int|否|店铺id||
|
|
|
|productSknList|数字型数组|否|[1234,456]|单个skn也需要塞到数组中,只是数组中只有一个元素|
|
|
|
|productVipStatus|int|是|2代表关闭 1代表开启||
|
|
|
|userId|int|否|登录账户ID||
|
|
|
|id|int|否|456|咨询列表的ID|
|
|
|
|answer|string|否|回复内容||
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
|
|
|
请求示例
|
|
|
http://127.0.0.1:8088/platform/sellerVip/batchChangeStatus
|
|
|
http://127.0.0.1:8088/platform/seller/consult/reply
|
|
|
## 请求样例数据
|
|
|
``` json
|
|
|
{"productSknList" : [1234,456], "productVipStatus" : 1}
|
|
|
{"userId":101148, "id" : "49","answer":"回复内容"}
|
|
|
|
|
|
|
|
|
正常返回:
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "更新成功"
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
|
|
|
|
|
|
异常返回:
|
|
|
|
|
|
{
|
|
|
"code": 30001,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "系统异常"
|
|
|
"message": "回复内容不能为空",
|
|
|
"code": 400
|
|
|
}
|
|
|
{
|
|
|
"message": "咨询无法修改",
|
|
|
"code": 400
|
|
|
}
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|