学校分页列表
分页查看学校,可按省市筛选。
| 请求方式 | GET/POST |
|---|---|
| 接口路径 | /api/school/list |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
|---|---|---|---|
curPage | int | 否 | URL 参数 |
pageSize | int | 否 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/school/list?curPage=1&pageSize=1' \ -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
data 为分页对象,业务数据在 records。
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"records": [
{
"id": 1,
"lat": 0.0,
"lon": 0.0,
"schoolName": "string",
"province": "string",
"city": "string",
"address": "string",
"chsiSchId": 1,
"orgCode": "string",
"sdxUnivId": 1,
"collegeId": 1,
"contractUserId": 1,
"presaleWarehouseId": 1,
"booklistCurl": "string",
"booklistScript": "string",
"booklistParamNames": "string",
"areaId": 1,
"supportLocalRecycle": 1,
"priceCoefficient": 0.0,
"carbonTon": 0.0,
"carbonRank": 1,
"carbonRecycleCount": 1,
"carbonSoldCount": 1,
"carbonTonMonth": 0.0,
"carbonRankMonth": 1,
"carbonRecycleCountMonth": 1,
"carbonSoldCountMonth": 1,
"carbonTonWeek": 0.0,
"carbonRankWeek": 1,
"carbonRecycleCountWeek": 1,
"carbonSoldCountWeek": 1,
"carbonStatTime": "string"
}
],
"total": 0,
"size": 10,
"current": 1,
"pages": 0
}
}