Showing
1 changed file
with
19 additions
and
0 deletions
@@ -177,4 +177,23 @@ code为200即为响应成功,否则为响应异常。返回结果参考returnC | @@ -177,4 +177,23 @@ code为200即为响应成功,否则为响应异常。返回结果参考returnC | ||
177 | 6, 用户注册失败; | 177 | 6, 用户注册失败; |
178 | 7, 优惠码发送失败; | 178 | 7, 优惠码发送失败; |
179 | 8, 当天已经领过券不允许再次领取; | 179 | 8, 当天已经领过券不允许再次领取; |
180 | +``` | ||
181 | +请求示例 | ||
182 | +http://192.168.102.222:8090/activity/?method=wap.order.registerAndSendCoupon&mobile=18751886435&ordercode=907540150&identifycode=4172&debug=XYZ | ||
183 | +### 响应 | ||
184 | +code为200即为响应成功,否则为响应异常。返回结果参考returnCode字段 | ||
185 | +响应JSON格式如下所示: | ||
186 | +``` | ||
187 | +{ | ||
188 | +"code": 200 | ||
189 | +"message": "ok" | ||
190 | +"md5": "c5944fb93fab705f2e6e8cbe27082d98" | ||
191 | +"data": { | ||
192 | +"mobile": "18751886435" | ||
193 | +"orderCode": 907540150 | ||
194 | +"coupon": "a6c1b75f9" | ||
195 | +"returnCode": 0 | ||
196 | +"returnMsg": "" | ||
197 | +}- | ||
198 | +} | ||
180 | ``` | 199 | ``` |
-
Please register or login to post a comment