请求URL
http://xx.com/recycle/announceList
Headers
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
searchWord |
否 |
string |
标题搜索 |
timeStart |
否 |
int |
开始时间,秒级时间戳 |
timeEnd |
否 |
int |
结束时间,秒级时间戳 |
返回示例
{
"error_code": 0,
"msg": "success",
"data": [
{
"id": 4,
"type": 2, //类型 1文本 2图片
"title": "文本", //标题
"status": 2, //1发送成功 2发送失败
"content": "", //文本内容
"main_img": "http://publicceshi.oss-cn-hangzhou.aliyuncs.com/tangfen/20211213/2021121314174661b6e58a1e039.png", //封面图
"detail_img": [ //图片明细
"http://publicceshi.oss-cn-hangzhou.aliyuncs.com/tangfen/20211213/2021121314174661b6e58a1e039.png",
"http://publicceshi.oss-cn-hangzhou.aliyuncs.com/tangfen/20211213/2021121314174661b6e58a1e039.png"
],
"created_at": "2022-01-10 19:55:24", //发布时间
"updated_at": "2022-01-10 19:55:24",
"deleted_at": "2022-01-21 15:24:10",//删除时间
"operator": {
"id": 407,
"username": "an",//操作者昵称
"phone": "an" //操作者手机
}
},
{
"id": 1,
"type": 1,
"title": "文本",
"status": 2,
"content": "文本内容",
"main_img": "",
"detail_img": "",
"created_at": "2022-01-10 19:51:27",
"updated_at": "2022-01-10 19:51:27",
"deleted_at": "2022-01-21 15:24:10",
"operator": {
"id": 407,
"username": "an",
"phone": "an"
}
}
],
"total": 4 //数据总量
}
返回参数说明
参数名 |
类型 |
说明 |
error_code |
int |
0成功 |
msg |
string |
success |
备注