Showing
1 changed file
with
17 additions
and
24 deletions
@@ -71,56 +71,49 @@ http://127.0.0.1:8088/platform/seller/consult/getConsultList | @@ -71,56 +71,49 @@ http://127.0.0.1:8088/platform/seller/consult/getConsultList | ||
71 | "message": "success" | 71 | "message": "success" |
72 | } | 72 | } |
73 | 73 | ||
74 | -异常返回: | ||
75 | - | ||
76 | -{ | ||
77 | - "code": 500, | ||
78 | - "data": [], | ||
79 | - "md5": "8b233b3ba501d3563be331aa58d0fe0d", | ||
80 | - "message": "NetSale Product List error." | ||
81 | -} | ||
82 | - | ||
83 | ``` | 74 | ``` |
84 | 75 | ||
85 | 76 | ||
86 | 77 | ||
87 | 78 | ||
88 | -## 2、更新VIP status## | 79 | +## 2、回复咨询## |
89 | 80 | ||
90 | -更新VIP status(/sellerVip/batchChangeStatus) | 81 | +回复咨询(/seller/consult/reply) |
91 | 82 | ||
92 | #### 请求参数(默认值都传null) | 83 | #### 请求参数(默认值都传null) |
93 | | 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 | | 84 | | 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 | |
94 | |:-------| -----:|-----:|-----:|----:| | 85 | |:-------| -----:|-----:|-----:|----:| |
95 | -|shopsId|int|否|店铺id|| | ||
96 | -|productSknList|数字型数组|否|[1234,456]|单个skn也需要塞到数组中,只是数组中只有一个元素| | ||
97 | -|productVipStatus|int|是|2代表关闭 1代表开启|| | 86 | +|userId|int|否|登录账户ID|| |
87 | +|id|int|否|456|咨询列表的ID| | ||
88 | +|answer|string|否|回复内容|| | ||
98 | 89 | ||
99 | 注意,通用的头部没有列出。 | 90 | 注意,通用的头部没有列出。 |
100 | 91 | ||
101 | 请求示例 | 92 | 请求示例 |
102 | -http://127.0.0.1:8088/platform/sellerVip/batchChangeStatus | 93 | +http://127.0.0.1:8088/platform/seller/consult/reply |
103 | ## 请求样例数据 | 94 | ## 请求样例数据 |
104 | ``` json | 95 | ``` json |
105 | -{"productSknList" : [1234,456], "productVipStatus" : 1} | 96 | +{"userId":101148, "id" : "49","answer":"回复内容"} |
106 | 97 | ||
107 | 98 | ||
108 | 正常返回: | 99 | 正常返回: |
109 | { | 100 | { |
110 | - "code": 200, | ||
111 | - "data": [], | ||
112 | - "md5": "d751713988987e9331980363e24189ce", | ||
113 | - "message": "更新成功" | 101 | + "code": 200, |
102 | + "data": [], | ||
103 | + "md5": "d751713988987e9331980363e24189ce", | ||
104 | + "message": "操作成功" | ||
114 | } | 105 | } |
115 | 106 | ||
116 | 107 | ||
117 | 异常返回: | 108 | 异常返回: |
118 | 109 | ||
119 | { | 110 | { |
120 | - "code": 30001, | ||
121 | - "data": [], | ||
122 | - "md5": "d751713988987e9331980363e24189ce", | ||
123 | - "message": "系统异常" | 111 | + "message": "回复内容不能为空", |
112 | + "code": 400 | ||
113 | +} | ||
114 | +{ | ||
115 | + "message": "咨询无法修改", | ||
116 | + "code": 400 | ||
124 | } | 117 | } |
125 | 118 | ||
126 | ``` | 119 | ``` |
-
Please register or login to post a comment