雅高小程序幸运抽奖活动页面用户进行抽奖,根据活动规则返回抽奖结果
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
tenant_key | String | 必须 | 123 | 商家租户id | |
token | String | 可选 | 123 | 用户登录信息 | |
offer_id | Number | 必须 | 123 | 活动id |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Response | 返回结果 | |
|
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripMerchantGalaxyActivityDrawParticipateRequest req = new AlitripMerchantGalaxyActivityDrawParticipateRequest(); req.setTenantKey( "123" ); req.setToken( "123" ); req.setOfferId(123L); AlitripMerchantGalaxyActivityDrawParticipateResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | < alitrip_merchant_galaxy_activity_draw_participate_response > < result > < success >true</ success > < error_code >error</ error_code > < content > < good_send_type >0</ good_send_type > < good_name >纪念版球衣</ good_name > < good_image >https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10000728680/hotel/sell263682007-10083454-1597904029721/%E5%81%A5%E8%BA%AB%E6%88%BF/O1CN01dfVCAi1ftoeuTyRzU_%21%216000000004065-0-hotel.jpg</ good_image > < participate_status >0</ participate_status > < good_type >0</ good_type > < goods_id >22</ goods_id > < good_amount >0</ good_amount > < record_id >11</ record_id > </ content > < error_msg >错误信息</ error_msg > </ result > </ alitrip_merchant_galaxy_activity_draw_participate_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 > |
错误码 | 错误描述 | 解决方案 |
---|