学院合同列表
分页查看学院的供书合同及执行进度。
| 请求方式 | GET |
|---|---|
| 接口路径 | /api/college/contract/page |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
|---|---|---|---|
defaultValue | int | 是 | URL 参数 |
defaultValue | int | 是 | URL 参数 |
name | String | 否 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/college/contract/page?defaultValue=1&defaultValue=1&name=xxx' \ -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
data 为分页对象,业务数据在 records。
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"records": [
{
"id": 1,
"name": "string",
"campusCount": 1,
"contracted": true,
"mine": true,
"contractorUserId": 1,
"contractTime": "string",
"fee": 0.0
}
],
"total": 0,
"size": 10,
"current": 1,
"pages": 0
}
}