{"action":"reopened","issue":{"url":"https://api.github.com/repos/billfeller/billfeller.github.io/issues/38","repository_url":"https://api.github.com/repos/billfeller/billfeller.github.io","labels_url":"https://api.github.com/repos/billfeller/billfeller.github.io/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/billfeller/billfeller.github.io/issues/38/comments","events_url":"https://api.github.com/repos/billfeller/billfeller.github.io/issues/38/events","html_url":"https://github.com/billfeller/billfeller.github.io/issues/38","id":53828877,"number":38,"title":"新人专享优惠券领券业务逻辑","user":{"login":"billfeller","id":998505,"avatar_url":"https://avatars.githubusercontent.com/u/998505?v=3","gravatar_id":"","url":"https://api.github.com/users/billfeller","html_url":"https://github.com/billfeller","followers_url":"https://api.github.com/users/billfeller/followers","following_url":"https://api.github.com/users/billfeller/following{/other_user}","gists_url":"https://api.github.com/users/billfeller/gists{/gist_id}","starred_url":"https://api.github.com/users/billfeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billfeller/subscriptions","organizations_url":"https://api.github.com/users/billfeller/orgs","repos_url":"https://api.github.com/users/billfeller/repos","events_url":"https://api.github.com/users/billfeller/events{/privacy}","received_events_url":"https://api.github.com/users/billfeller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2015-01-09T03:01:07Z","updated_at":"2016-12-20T07:29:03Z","closed_at":null,"body":"## 新人专享优惠券领券业务逻辑\n\n请求体：\n\n```\nhttp://m.vip.com/ajaxapi-bindCoupon.html?fCouponId=12082\n```\n\n其中，fCouponId参数通过data-fCouponId获取；\n\n响应体：\n\n```\n{\n    \"ret\": 0,\n    \"data\": {\n        \"coupon_id\": 12082,\n        \"coupon_name\": \"下载APP新会员专享券100-10\",\n        \"coupon_sn\": \"KXR9KDTRXK66QQE\",\n        \"begin_time\": 1420771486,\n        \"end_time\": 1421030686,\n        \"use_limit\": \"100\",\n        \"coupon_type\": 2,\n        \"coupon_field\": 5,\n        \"coupon_source\": \"站内活动页面领取\",\n        \"limit\": 800000,\n        \"active\": 104,\n        \"rest\": 799896\n    }\n}\n```\n\n其中：\n\n```\nret 0   领券成功\n    -1  活动已过期\n    -2  用户未登录\n    -3  非新客用户AB\n    -4  已领券\n    -5  前端参数有误\n    -6  接口异常\n    -97 已领券\n    -98 券已领完\n    -99 接口异常\n```\n"}}
{"actor":{"display_login":"billfeller"}}