Showing
1 changed file
with
27 additions
and
0 deletions
@@ -114,4 +114,31 @@ b、不可分享时,分享活动的各参数为null, | @@ -114,4 +114,31 @@ b、不可分享时,分享活动的各参数为null, | ||
114 | |coupon |string |是 |XXXXX | |优惠码| | 114 | |coupon |string |是 |XXXXX | |优惠码| |
115 | |returnCode |int |否 |0 | |返回码| | 115 | |returnCode |int |否 |0 | |返回码| |
116 | |returnMsg |string |是 |0 | |返回信息| | 116 | |returnMsg |string |是 |0 | |返回信息| |
117 | +#### returnCode取值说明 | ||
118 | +0, 成功; | ||
119 | +1, 输入手机号错误; | ||
120 | +2, 手机号还没有注册用户; | ||
121 | +3, 活动已过期; | ||
122 | +4, 老用户领券超过限制数量; | ||
123 | +5, 注册验证码验证失败; | ||
124 | +6, 用户注册失败; | ||
125 | +7, 优惠码发送失败; | ||
117 | 126 | ||
127 | +请求示例 | ||
128 | +http://192.168.102.222:8090/activity/?method=wap.order.drawOrderShareCoupon&mobile=13999999999&ordercode=907540150&debug=XYZ | ||
129 | +### 响应 | ||
130 | +code为200即为响应成功,否则为响应异常。返回结果参考returnCode字段 | ||
131 | +响应JSON格式如下所示: | ||
132 | +``` | ||
133 | +{ | ||
134 | +"code": 200 | ||
135 | +"message": "ok" | ||
136 | +"md5": "412bea3eeb4e00450e05bdfc378826e2" | ||
137 | +"data": { | ||
138 | +"mobile": "13999999999" | ||
139 | +"orderCode": 907540150 | ||
140 | +"coupon": null | ||
141 | +"returnCode": 2 | ||
142 | +"returnMsg": "该手机号没有注册,已发送注册验证码" | ||
143 | +}- | ||
144 | +} |
-
Please register or login to post a comment