高德券核销通知拉菲
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
gd_user_id | String | 可选 | 64828278 | 高德uid | |
openid | String | 可选 | AAFLb-fwAAgOrLpFIt9ARhYF | openid | |
bs | String | 可选 | [{"id":100002,"gmtCreate":"2022-05-04T19:47:11+08:00","gmtModified":"2022-05-04T19:47:11+08:00","uid":363882452,"phone":"13001249928","tUid":"2213294639820","tUserType":0,"outRecordID":"3193095045096","recordId":165318699368011492,"prizeId":1527213884610449408,"templateId":"2009169","source":"tmall_point","openId":"AAFLb-fwAAgOrLpFIt9ARhYF"}] | 数据 | |
mobile | String | 可选 | 17888888889 | 手机 | |
origin_openid | String | 可选 | AAFLb-fwAAgOrLpFIt9ARhYF | 原始openid | |
mid | String | 可选 | 111 | 验签id | |
msign | String | 可选 | 321 | 验签 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Boolean | true | 结果 |
msg_code | String | 1 | code |
data | String | true | data |
gs_id | String | e1b358bdb3d048ad90b601ef15bafe42 | gsid |
message | String | Successful. | msg |
version | String | 3.0-101270b | version |
timestamp | Number | 1653187110 | 版本 |
1 2 3 4 5 6 7 8 9 10 11 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); TopLatourCouponFinishRequest req = new TopLatourCouponFinishRequest(); req.setGdUserId( "64828278" ); req.setOpenid( "AAFLb-fwAAgOrLpFIt9ARhYF" ); req.setBs( "[{\"id\":100002,\"gmtCreate\":\"2022-05-04T19:47:11+08:00\",\"gmtModified\":\"2022-05-04T19:47:11+08:00\",\"uid\":363882452,\"phone\":\"13001249928\",\"tUid\":\"2213294639820\",\"tUserType\":0,\"outRecordID\":\"3193095045096\",\"recordId\":165318699368011492,\"prizeId\":1527213884610449408,\"templateId\":\"2009169\",\"source\":\"tmall_point\",\"openId\":\"AAFLb-fwAAgOrLpFIt9ARhYF\"}]" ); req.setMobile( "17888888889" ); req.setOriginOpenid( "AAFLb-fwAAgOrLpFIt9ARhYF" ); req.setMid( "111" ); req.setMsign( "321" ); TopLatourCouponFinishResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 | < top_latour_coupon_finish_response > < result >true</ result > < msg_code >1</ msg_code > < data >true</ data > < gs_id >e1b358bdb3d048ad90b601ef15bafe42</ gs_id > < message >Successful.</ message > < version >3.0-101270b</ version > < timestamp >1653187110</ timestamp > </ top_latour_coupon_finish_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|