文档
测试

资讯列表

POST
/app/home/info/list

请求参数

参数名
类型
描述
必填
sign
String
验证签名
必填
user_id
String
用户id
必填
type_id
String
资讯分类id (推荐传空)
必填
page
int
页数,默认1
必填
limit
int
条数,默认4
必填

响应参数

参数名
类型
描述
必填
code
long
状态码,等于0,操作成功,小于0,操作失败
必填
msg
String
状态信息
必填
result
json
返回数据信息
必填
info_list
list
资讯列表
必填
id
String
作为info_id参数传入 查看详情
必填
title
String
标题
必填
publish_time
String
时间
必填
share_num
String
分享人数
必填
img_path
String
图片地址
必填
content_type
String
类型为1,传入id查询详情接口;类型为2时,直接拿content作为地址链接
必填
content
String
资讯内容
必填

说明 / 示例

``` { "code": 0, "errors": {}, "msg": "操作成功", "result": { "info_list": [ { "type_name": "最新口子", "market_type_id": "319d7ef30cd94092bf58711550ed40bf", "content_type": 1, "img_path": "upload//202006/1591757410960.jpg", "publish_time": "2020-06-10 10:49:24", "id": "58a6d11a07214b5ea94602bb47afc36b", "title": "测试数据", "content": "<p>测试数据</p>", "publish_time_stamp": 1591757364829, "oem_id": "1000", "share_num": 1 }, { "type_name": "办卡技术", "market_type_id": "f806b3883344407e9d025cdcaff2d554", "content_type": 2, "img_path": "upload//202006/1591757447839.jpg", "publish_time": "2020-06-10 10:50:57", "id": "c3f15faa44164048ba030590fc8f1363", "title": "办卡测试", "content": "https://www.baidu.com/", "publish_time_stamp": 1591757457097, "oem_id": "1000", "share_num": 0 } ] } } ```