跳到主要内容

19.1 分页查询微页面分类列表(haowhoo.activity.page.category.list)

19.1.1 请求参数​

字段名变量名必填类型示例说明
接口类型p1_bizType是String(32)haowhoo.goods.getAPI接口类型
商户编号p2_tenantCode是String(20)1828400000199商户号,即策AI平台分配
产品编号p3_productCode是String(20)1001产品号,即策AI平台分配
时间戳p4_timestamp是long1574674560993时间戳: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.1.2 响应参数​

字段名变量名必填类型示例说明
接口类型rt1_bizType是String(32)haowa.hotel.searchAPI接口类型
商户编号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格式如下:

字段名变量名类型示例说明
总数totalint1总数
微页面列表pagesList…微页面列表

19.1.3 示例​

响应参数rt5_data为下面格式的UTF-8编码的JSON字符串。

格式如下:

{
"total": 1,
"pages": [
{
"id": 1,
"name": "积分制管理详情页面",
"type": "person",
"memo": "积分制管理详情页面",
"attrTitle": "积分制管理详情页面",
"attrSubtitle": "积分制管理详情页�"
"attrImgUrl": "https://img.haowhoo.com/2019/0"
"attrImgUrlShow": "https://img.haowhoo.com/2019/0"
"extAttr": "{\"title\":\"积分制管理详情页面\",\"subTitle\":\"积分制管理详情页面\",\"imgUrl\":\"https://img.haowhoo.com/2019/02
"system": "haowhoo",
"status": "enable",
"statusDesc": "有效",
"widgets": "[{\"type\":\"text\",\"data\":{\"value\":\"<p>积分制管理详情页面<\/p>\"}},{\"type\":\"image\",\"data\":{\"value\":\"https://img.haowhoo.com/2019/0
"code": "person_1",
"createTime": "2019-02-22 12:00:00",
"updateTime": "2019-02-22 12:00:00",
"mpEnter": true,
"h5Enter": true,
"publishStatus": "published",
"publishStatusDesc": "已发布",
"publishTime": "2019-02-22 12:00:00",
"publishTimeDesc": "2019-02-22 12:00:00"
}
]
}