chong

Updates 家长端服务/接口文档.md

Auto commit by GitBook Editor
... ... @@ -120,15 +120,18 @@ GET https://api.boxfish.cn/parents/{student_Id}/info?access_token=admin
| student\_id | Long | **必须**.学生id |
### 家长查询学生今日学习接口
```url
GET https://api.boxfish.cn/parents/learning/{student_id}/{date}?access_token=parent0
```
| Name | Type | Desc |
| :--- | :--- | :--- |
| student\_id | Long | 必须.学生id |
| date | String | 必须.时间(2016-11-29) |
返回值
```json
{
"userId": 100000000721,
... ... @@ -140,39 +143,36 @@ GET https://api.boxfish.cn/parents/learning/{student_id}/{date}?access_token=pa
"date": "2016-11-29"
}
```
### 家长查询学生周学习时长接口
```
GET https://api.boxfish.cn/parents/learning-between/{student_id}/{start_date}/{end_date}?access_token=parent0
```
| Name | Type | Desc |
| :--- | :--- | :--- |
| student\_id | Long | 必须.学生id |
| start_date | String | 必须.开始时间(2016-11-25) |
| end_date | String | 必须.结束时间(2016-11-29) |
| start\_date | String | 必须.开始时间(2016-11-25) |
| end\_date | String | 必须.结束时间(2016-11-29) |
返回值
```json
[
{
"learningTime": 1372,
"date": "2016-11-25"
},
{
"learningTime": 6216,
"date": "2016-11-26"
},
{
"learningTime": 3106,
"date": "2016-11-27"
}
[
{
"learningTime": 1372,
"date": "2016-11-25"
},{
"learningTime": 6216,
"date": "2016-11-26"
},{
"learningTime": 3106,
"date": "2016-11-27"
}
]
```
### 数据库设计
```
... ...