19.3 分页查询新闻笔记列表(haowhoo.activity.news.category.list)
19.3.1 请求参数
| 字段名 | 变量名 | 必填 | 类型 | 示例 | 说明 |
|---|---|---|---|---|---|
| 接口类型 | p1_bizType | 是 | String(32) | haowhoo.goods.get | API接口类型 |
| 商户编号 | p2_tenantCode | 是 | String(20) | 1828400000199 | 商户号,即策AI平台分配 |
| 产品编号 | p3_productCode | 是 | String(20) | 1001 | 产品号,即策AI平台分配 |
| 时间戳 | p4_timestamp | 是 | long | 1574674560993 | 时间戳:1574674560993,北京时间10分钟以内 |
| 查询数据 | p5_data | 是 | String(Max) | … | JSON字符串,不参与加密(此接口无参数) |
| 签名 | sign | 是 | String(200) | … | MD5WITHRSA签名 |
p5_data格式如下:
| 字段名 | 变量名 | 必填 | 类型 | 示例 | 说明 |
|---|---|---|---|---|---|
| 微页面类型 | type | 是 | String(20) | person | 即策AI平台微页面类型 |
| 微页面标题 | title | 是 | String(200) | 积分制管理详情页面 | 即策AI平台微页面标题 |
| 微页面状态 | status | 是 | String(20) | enable | 即策AI平台微页面状态:enable-有效,disable-无效 |
| 微页面发布开始时间 | startPublishTime | 是 | String(20) | 2019-02-22 12:00:00 | 即策AI平台微页面发布开始时间,格式:yyyy-MM-dd HH:mm:ss |
| 微页面发布结束时间 | endPublishTime | 是 | String(20) | 2019-02-22 22:00:00 | 即策AI平台微页面发布结束时间,格式:yyyy-MM-dd HH:mm:ss |
19.3.2 响应参数
| 字段名 | 变量名 | 必填 | 类型 | 示例 | 说明 |
|---|---|---|---|---|---|
| 接口类型 | rt1_bizType | 是 | String(32) | haowa.hotel.search | API接口类型 |
| 商户编号 | rt2_tenantCode | 是 | String(20) | 1828400000199 | 商户号 |
| 返回码 | rt3_retCode | 否 | String(20) | 0000 | 详情见附录-返回码 |
| 返回信息 | rt4_retMsg | 是 | String(200) | 成功 | |
| 返回结果 | rt5_data | 否 | String(Max) | … | JSON字符串,详见示例 |
| 签名 | sign | 是 | String(200) | … | MD5WITHRSA签名 |
rt5_data格式如下:
| 字段名 | 变量名 | 类型 | 示例 | 说明 |
|---|---|---|---|---|
| 总数 | total | int | 1 | 总数 |
| 新闻笔记列表 | pages | List | … | 新闻笔记列表 |
19.3.3 示例
响应参数rt5_data为下面格式的UTF-8编码的JSON字符串。
格式如下:
{
"total": 1,
"pages": [
{
"id": 1,
"type": "person",
"title": "积分制管理详情页面",
"frontImg": "https://img.haowhoo.com/2019/02/22/20190221920000_1.jpg",
"frontImgShow": "https://img.haowhoo.com/2019/02/22/20190221920000_1.jpg",
"publishTimeLong": 1614000000000,
"person": "admin",
"memo": "积分制管理详情页面",
"tags": "积分制管理详情页面",
"status": "enable",
"statusDesc": "有效",
"recommend": false,
"createTimeDesc": "2019-02-22 12:00:00",
"updateTimeDesc": "2019-02-22 12:00:00",
"content": "<p>积分制管理详情页面</p>",
"code": "person_1",
"h5ShowUrl": "https://h5.haowhoo.com/haowhoo/activity/news/detail?code=person_1"
}
]
}