文档
测试

我的收藏列表

POST
http://erqi.maylike.xyz/api/collect

请求参数

参数名
类型
描述
必填
uid
用户id,个人中心和登录的状态下传值
必填
page
当前页数
必填
limit
每页条数
必填
type
类型 1公告 2工作风采,3政务简介,4社区便民服务站,5便民利民
必填

响应参数

参数名
类型
描述
必填
code
1
必填
msg
获取成功
必填
data
必填
id
1 文章id
必填
name
撰稿人
必填
title
文章标题
必填
path
缩略图
必填
info
简介
必填
text
内容.富文本的形式,
必填
type
类型 1公告 2工作风采,3政务简介,4社区便民服务站,5便民利民
必填
tag_id
分类id
必填
tel
咨询电话
必填
sort
排序(后台用)
必填
count
浏览量
必填
created_at
必填
collect
收藏量
必填

说明 / 示例

{ "code": 1, "msg": "获取成功", "data": [ { "id": 1, "title": "测试", "name": "自己", "path": null, "info": null, "text": null, "type": null, "tag_id": null, "tel": null, "sort": null, "created_at": null, "updated_at": null, "count": 0, "collect": 0 } ] }