这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
usergetcoupon [2015/12/16 15:37] 112.25.156.122 创建 |
usergetcoupon [2022/04/19 10:55] (当前版本) 5.188.211.16 http://imrdsoacha.gov.co/silvitra-120mg-qrms |
||
---|---|---|---|
行 1: | 行 1: | ||
- | + | http://imrdsoacha.gov.co/silvitra-120mg-qrms | |
- | ===== 用户领取优惠劵接口 ===== | + | |
- | + | ||
- | ==== 1、客户端调用接口 ==== | + | |
- | + | ||
- | ''https://m.repai.com/api/userGetCoupon/id/1/access_token/rpat_47be0653fe75e8ae3f3d4fa5de931c24'' | + | |
- | + | ||
- | === 输入参数说明: === | + | |
- | + | ||
- | * access_token 【调用[[reg_login_api|一键注册登陆接口]]获取到的access_token】 | + | |
- | + | ||
- | * id 【优惠券ID】 | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | === 输出参数说明: === | + | |
- | + | ||
- | * JSON格式输出,错误时,status值为false示例如下: | + | |
- | + | ||
- | { | + | |
- | "status": false, | + | |
- | "reason": "未登录", | + | |
- | "location": "Location: https://m.repai.com/user/login?reffer=http%253A%252F%252Fm.repai.com%252Fapi%252ForderDetail%252Faccess_token%252Frpat_47be0653fe75e8ae3f3d4fa5de931c24%252Forderid%252F144428552331921%253Farg%253Dok&applogin_callback=http%253A%252F%252Fm.repai.com%252Fapi%252ForderDetail%252Faccess_token%252Frpat_47be0653fe75e8ae3f3d4fa5de931c24%252Forderid%252F144428552331921%253Farg%253Dok" | + | |
- | } | + | |
- | + | ||
- | + | ||
- | * JSON格式输出,正确时,status值为true,表示已取消订单,示例如下: | + | |
- | + | ||
- | { | + | |
- | "status": 1, | + | |
- | "msg": "领取成功" | + | |
- | } | + | |
- | + | ||
- | + | ||
- | [[start|返回首页]] | + |