推荐专题列表
接口地址
javascript
https://tea.qingnian8.com/api/bizhi/subjectList
https://tea.qingnian8.com/api/bizhi/subjectList
请求方式
javascript
GET
GET
请求参数
参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
---|---|---|---|---|
pageNum | 1 | 否 | Number | 第几页 |
pageSize | 5 | 否 | Number | 一页多少条 |
秘钥验证
参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
---|---|---|---|---|
access-key | 123456 | 是 | String | 放到请求头(Header)里面。 微信扫码看广告,获得秘钥参数。 |
响应示例
javascript
{
"errCode": 0,
"errMsg": "查询成功",
"data": [
{
"_id": "68500d138b0da441dcb3cf36",
"picList": [{
"_id": "683fdf51652341756290b425",
"smallPicurl": "https://cdn.qingnian8.com/public/xxmBizhi/20250604/1749016329712_0_small.webp"
},{
"_id": "660b700099c6244dcfbf38e5",
"smallPicurl": "https://cdn.qingnian8.com/public/xxmBizhi/20240402/1712025478298_4_small.webp"
},{
"_id": "660b700099c6244dcfbf38e6",
"smallPicurl": "https://cdn.qingnian8.com/public/xxmBizhi/20240402/1712025478350_5_small.webp"
}],
"view_count": 206,
"day": "2025-06-17",
"theme": "适合夏季的清凉壁纸",
"size": 21
}
],
"timeCost": 59
}
{
"errCode": 0,
"errMsg": "查询成功",
"data": [
{
"_id": "68500d138b0da441dcb3cf36",
"picList": [{
"_id": "683fdf51652341756290b425",
"smallPicurl": "https://cdn.qingnian8.com/public/xxmBizhi/20250604/1749016329712_0_small.webp"
},{
"_id": "660b700099c6244dcfbf38e5",
"smallPicurl": "https://cdn.qingnian8.com/public/xxmBizhi/20240402/1712025478298_4_small.webp"
},{
"_id": "660b700099c6244dcfbf38e6",
"smallPicurl": "https://cdn.qingnian8.com/public/xxmBizhi/20240402/1712025478350_5_small.webp"
}],
"view_count": 206,
"day": "2025-06-17",
"theme": "适合夏季的清凉壁纸",
"size": 21
}
],
"timeCost": 59
}
参数名 | 参数类型 | 描述说明 |
---|---|---|
errCode | Integer | 0:成功 400:请求失败 |
errMsg | String | 查询结果描述 |
timeCost | Integer | 接口消耗时间 |
data | Array | 详情数组,见下 |
data参数
参数名 | 参数类型 | 描述说明 |
---|---|---|
view_count | Number | 阅读量 |
day | String | 推荐日期 |
theme | String | 推荐专题名称 |
size | Number | 专题内包含壁纸数量 |
picList | Array | 缩率图组 |
picList._id | String | 壁纸ID |
picList.smallPicurl | String | 壁纸图片路径 |