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 13:53:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0140cc6c3780b542bfe080719bbfb8f01cf50039
0140cc6c
1 parent
1c22f70a
Updates 家长端服务/接口文档.md
Auto commit by GitBook Editor
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
6 deletions
家长端服务/接口文档.md
家长端服务/接口文档.md
View file @
0140cc6
...
...
@@ -12,23 +12,34 @@
### 2. 接口文档
(1) 注册 /signup POST
参数:
```
参数:
type auto
返回值:
返回值:
{
"username": "user161116141854MKyNqTI3",
"status": "success"
}
```
(2) 登录 /login POST
```
参数 :
username: user161116141352CJHaqctY
返回值:
返回值:
{
"access_token": "CxCIFCdSFu",
"id": 70904,
"code": "success"
"access_token": "CxCIFCdSFu",
"id": 70904,
"code": "success"
}
失败时code不为success 在msg字段中获取失败原因
```
(3) 家长发送学生验证码 POST
/parents/family/mobile/invite/15504612470?access_token=admin
...
...
Please
register
or
login
to post a comment