请求URL
http://xx.com/systemmanage/adlist?
Headers
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
status |
否 |
string |
默认空字符串 0上架,1下架 |
type |
否 |
string |
默认空字符串 1是首页 2 朋友 3圈子 |
page |
否 |
int |
第几页 |
pageNum |
否 |
int |
每页多少条 |
返回示例
{
"data": [
{
"ad_sort": 0,
"content": "来领红包 www.baidu.com",
"created_at": "2023-06-06 09:59:25",
"deleted_at ": 0,
"id": 2,
"type": 2,
"updated_at": "2023-06-06 09:59:25"
},
{
"ad_sort": 0,
"content": "来领红包 www.baidu.com",
"created_at": "2023-06-06 09:59:25",
"deleted_at ": 0,
"id": 1,
"type": 1,
"updated_at": "2023-06-06 09:59:25"
}
],
"error_code": 0,
"msg": "success",
"page": 1,
"pagesize": 15,
"total": 2
}
返回参数说明
参数名 |
类型 |
说明 |
error_code |
int |
0成功 |
type |
int |
广告类型默认0,1是首页 2 朋友 3圈子 |
content |
string |
广告内容 |
status |
int |
0上架 1下架 |
ad_sort |
int |
排序 |
备注