参数名称 | 类型 | 是否必填 | 参数描述 | 备注 |
---|---|---|---|---|
api_key | String | 是 | 系统分配的ApiKey | |
api_target | String | 是 | 调用接口名称 | com_cmall_productcenter_service_api_ApiSearchAssociate |
api_input | String | 是 | 输入参数 | 应用输入参数的JSON格式 |
参数名称 | 类型 | 必填 | 示例 | 参数描述 | 备注 |
---|---|---|---|---|---|
num | int | 否 | 显示数量 | ||
keyword | String | 是 | 搜索词 | ||
associateType | String | 否 | 联想类型 | 参数为 lxc 和 lxcProductName lxc为显示单个的词 lxcProductName显示商品名称 | |
baseValue | String | 否 | 数据是否加密 | 数据如果加密传递默认值为:base64 | |
version | int | 否 | 版本号 | 仅用于扩展,无需传入 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
resultCode | int | 返回标记 | 如果返回标记1则为API调用成功 否则则是错误编号 |
searchList | SearchAssociate[] | 联想结果 | |
resultMessage | String | 返回消息 | 返回的消息描述 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
associateWord | String | 联想词条 | |
associateWordNum | int | 联想词条结果数目 |