Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
project-credit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • project-credit
  • Wiki
  • api

api · Changes

Page history
chenchang created page: api authored Aug 12, 2016 by 陈昌's avatar 陈昌
Show whitespace changes
Inline Side-by-side
Showing with 60 additions and 0 deletions
+60 -0
  • api.md api.md +60 -0
  • No files found.
api.md 0 → 100644
View page @ 8e96d789
#### 登陆
地址:user/login
参数列表:
* action: String 定值 login
* username : String 对应用户名
* password : String 对应密码
返回值说明:
返回带有两个参数的josn字符串
如:{"code":"101","message":"\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef"}
* code:0 代表登录成功
* code:100 登陆信息不完整
* code:101 用户名或密码错误
* code:102 格式不正确
#### 注册
地址:
参数列表:
返回值说明:
#### 修改密码
地址:/user/login/
参数列表:
* action: String 定值 update_password
* old_password : String 对应原始密码
* new_password : String 对应要更改密码
返回值说明:
返回带有两个参数的josn字符串
如:{"code":"0","message":"\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef"}
* code:0 代表密码修改成功
* code:100 缺少参数
* code:101 原始密码错误
\ No newline at end of file
Clone repository
  • api
  • crontab
  • db
  • doc
  • files
  • Home
  • sql