Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
chong
2017-01-10 16:53:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
70b387094fa0a0ba949dc6006e9ff095a8391cea
70b38709
1 parent
3d701a4a
Updates 家长端服务/接口文档.md
Auto commit by GitBook Editor
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
家长端服务/接口文档.md
家长端服务/接口文档.md
View file @
70b3870
...
...
@@ -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"
}
]
```
### 数据库设计
```
...
...
Please
register
or
login
to post a comment