直播间点赞
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_thumsbup_request | ThumsbupRequest | 可选 | 点赞对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
error_msg | String | 正确 | 文案 |
status | Number | 200 | 状态200成功 其他均失败 |
1 2 3 4 5 6 7 8 9 10 11 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); LiveThumbupPublishRequest req = new LiveThumbupPublishRequest(); LiveThumbupPublishRequest.ThumsbupRequest obj1 = new LiveThumbupPublishRequest.ThumsbupRequest(); obj1.setCount(11L); obj1.setLoginId(23444L); obj1.setNick( "名称" ); obj1.setTopic( "ssddfwew" ); req.setParamThumsbupRequest(obj1); LiveThumbupPublishResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 | < live_thumbup_publish_response > < error_msg >正确</ error_msg > < status >200</ status > </ live_thumbup_publish_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 > |
错误码 | 错误描述 | 解决方案 |
---|