灯塔AI桌面小组件
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
request_param | ComponentInstructionRequest | 必须 | 包装类 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | PlainResult | 包装类 | |
|
1 2 3 4 5 6 7 8 9 10 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaPicturesDengtaComponentInstructionRequest req = new AlibabaPicturesDengtaComponentInstructionRequest(); AlibabaPicturesDengtaComponentInstructionRequest.ComponentInstructionRequest obj1 = new AlibabaPicturesDengtaComponentInstructionRequest.ComponentInstructionRequest(); obj1.setUtdid( "+XtOer9XgUDAFDWJHdfxK7N" ); obj1.setVersion( "客户端版本" ); obj1.setTtid( "movie_pro" ); obj1.setClientIp( "192.167.1.1" ); req.setRequestParam(obj1); AlibabaPicturesDengtaComponentInstructionResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 | < alibaba_pictures_dengta_component_instruction_response > < result > < trace_id >trace_id</ trace_id > < code >code</ code > < data > < instruction_list > < beacon_ai_instruction > < instruction >今天票房是多少</ instruction > </ beacon_ai_instruction > </ instruction_list > </ data > </ result > </ alibaba_pictures_dengta_component_instruction_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 > |
错误码 | 错误描述 | 解决方案 |
---|