文档
测试
GET
/space/article

请求参数

参数名
类型
描述
必填
code
区域code码
必填
page
int
当前页,默认第一页
必填
limit
int
每页显示条数,默认显示10条
必填

响应参数

参数名
类型
描述
必填
code
int
返回状态码
必填
msg
string
返回描述
必填
data
必填
total
int
总条数
必填
total_page
int
总页数
必填
list
array
返回数据
必填
id
资讯ID
必填
title
标题
必填
thumb
缩略图
必填
hits
浏览量
必填
upsNum
点赞数
必填
remark
简介
必填

说明 / 示例

{ "code": 200, "msg": "操作成功", "data": { "total": 1, "list": [ { "id": "1", "title": "丰富多彩的文化生活", "categoryId": "1", "tagIds": [], "source": "", "sourceUrl": "", "publishedTime": "1715241940", "body": "<p><img alt=\"\" src=\"/files/default/2024/05-09/1606593d09b3744307.jpeg\" /></p>\n", "thumb": "http://mytcs.com/files/article/2024/05-09/1607473b5105340841.jpeg", "originalThumb": "public://article/2024/05-09/1607473eeb40672205.jpeg", "picture": "/files/default/2024/05-09/1606593d09b3744307.jpeg", "status": "published", "hits": "9", "featured": "0", "promoted": "0", "sticky": "0", "postNum": "0", "upsNum": "0", "userId": "26", "createdTime": "1715242082", "updatedTime": "1715242082", "orgId": "1", "orgCode": "1.", "remark": "3546789" } ] } }