...
|
...
|
@@ -114,4 +114,31 @@ b、不可分享时,分享活动的各参数为null, |
|
|
|coupon |string |是 |XXXXX | |优惠码|
|
|
|
|returnCode |int |否 |0 | |返回码|
|
|
|
|returnMsg |string |是 |0 | |返回信息|
|
|
|
#### returnCode取值说明
|
|
|
0, 成功;
|
|
|
1, 输入手机号错误;
|
|
|
2, 手机号还没有注册用户;
|
|
|
3, 活动已过期;
|
|
|
4, 老用户领券超过限制数量;
|
|
|
5, 注册验证码验证失败;
|
|
|
6, 用户注册失败;
|
|
|
7, 优惠码发送失败;
|
|
|
|
|
|
请求示例
|
|
|
http://192.168.102.222:8090/activity/?method=wap.order.drawOrderShareCoupon&mobile=13999999999&ordercode=907540150&debug=XYZ
|
|
|
### 响应
|
|
|
code为200即为响应成功,否则为响应异常。返回结果参考returnCode字段
|
|
|
响应JSON格式如下所示:
|
|
|
```
|
|
|
{
|
|
|
"code": 200
|
|
|
"message": "ok"
|
|
|
"md5": "412bea3eeb4e00450e05bdfc378826e2"
|
|
|
"data": {
|
|
|
"mobile": "13999999999"
|
|
|
"orderCode": 907540150
|
|
|
"coupon": null
|
|
|
"returnCode": 2
|
|
|
"returnMsg": "该手机号没有注册,已发送注册验证码"
|
|
|
}-
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|