Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
shuidiapp
shuidiapp
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • 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
  • 互联网应用开发
  • shuidiappshuidiapp
  • Wiki
  • find_password

find_password · Changes

Page history
chenchang created page: find_password authored Nov 28, 2016 by 陈昌's avatar 陈昌
Hide whitespace changes
Inline Side-by-side
Showing with 68 additions and 0 deletions
+68 -0
  • find_password.md find_password.md +68 -0
  • No files found.
find_password.md 0 → 100644
View page @ 762dec5c
### 找回密码
#### 调用地址
```
/user
```
action=find_password
#### 传参
```javascript
{action: 'find_password' , sign_md5: '123456' , timestrap: '654321' , phone: '654321' , code: '654321' , uid: '654321' , new_password}
```
|传参|说明|是否必填|
|:---|:---|:---|
|action|接口名|是|
|sign_md5|验证签名|是|
|timestrap|时间戳|是|
|phone|手机号|是|
|code|验证码|是|
|uid|用户id|是|
|new_password|新密码|是|
#### 返回值
```javascript
{
status: 0,
message: "您的密码已经更改",
data: {
msg: "您已成功退出登陆"
}
}
```
```javascript
{
status: 15007,
message: "违法请求!",
data: [ ]
}
```
```javascript
{
status: 15008,
message: "密码格式不对!",
data: [ ]
}
```
```javascript
{
status: 15009,
message: "这个账户不存在!",
data: [ ]
}
```
```javascript
{
status: 15010,
message: "验证码错误!",
data: [ ]
}
```
|返回值|说明|
|:---|:---|
| message |状态信息|
#### 示例
http://shuidi.dev.pingansec.com/user?action=find_password&sign_md5=d23104836bf271918721ba749b499747&timestrap=12222112&phone=18616503617&code=4119&uid=15629&new_password=654321
\ No newline at end of file
Clone repository
  • add_application
  • agree_application
  • api_desc
  • api_list
  • autobiography
  • base_info
  • branch
  • cancel_follow
  • change
  • change_applicant_name
  • change_avatar
  • change_logo
  • change_nickname
  • change_password
  • change_position
View All Pages