Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-php
  • 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
  • 互联网应用开发
  • wiki-php
  • Wiki
  • find psw

Last edited by 姚坤 Apr 20, 2017
Page history
This is an old version of this page. You can view the most recent version or browse the history.

find psw

找回密码

用户账号校验接口地址

/pcuser-tologin

传参

传参 说明 是否必填
action 接口名:check_login 是
user_name 用户账号 是

返回值

正确返回:{
status: 0,
message: "",
data: [ ]
}
错误返回:{
status: 1,
message: "该用户不存在!",
data: [ ]
}

发送邮件找回密码地址

/pcuser-find-password

传参

传参 说明 是否必填
action 接口名:find_password_send_email 是
email 邮箱名称 是
code 图片验证码 是

返回值

正确返回:{
status: 0,
message: "邮件已发送,请登入邮箱激活!",
data: [ ]
}
错误返回:{
status: 15008,
message: "验证码错误",
data: [ ]
}{
status: 15009,
message: "邮箱格式不对!",
data: [ ]
}
status: 15010,
message: "没有找到该用户!",
data: [ ]
}

邮箱找回密码接口地址

/user

传参

传参 说明 是否必填
action 接口名:find_email_password 是
token 签名 是
timestamp 签名必须的时间戳 是
uid 用户uid 是
new_password 用户新密码 是

返回值

正确返回:{
status: 0,
message: "您的密码已经更改!",
data: [ ]
}
错误返回:{
status: 15008,
message: "超时!",
data: [ ]
}
status: 15007,
message: "违法请求!",
data: [ ]
}

发送手机验证码接口地址

/pcuser-tologin

传参

传参 说明 是否必填
action 接口名:get_verification_code 是
phone 手机号 是
type 验证码用途(固定为10004) 是

返回值

正确返回:{
status: 0,
message: "短信验证码获取成功!",
data: [ ]
}
错误返回:{
status: 1,
message: "....",
data: [ ]
}

点击下一步校验手机验证码接口地址

/pcuser-find-password

传参

传参 说明 是否必填
action 接口名:chech_phone_code 是
phone 手机号 是
code 手机验证码 是

返回值

正确返回:{
status: 0,
message: "您的密码已经更改!",
data: ['phone'=>?,'code'=>?,'uid'=>?]
}
错误返回:
{
status: 15010
message: "验证码错误!",
data: [ ]
}
{
status: 15011
message: "验证码过期!",
data: [ ]
}

手机号找回密码接口地址

/pcuser-find-password

传参

传参 说明 是否必填
action 接口名:find_password 是
phone 手机号 是
code 手机验证码 是
uid 用户uid 是
new_password 用户新密码 是

返回值

正确返回:{
status: 0,
message: "您的密码已经更改!",
data: [ ]
}
错误返回:{
status: 115008
message: "密码格式不对!",
data: [ ]
}
{
status: 15010
message: "验证码错误!",
data: [ ]
}
{
status: 15011
message: "验证码过期!",
data: [ ]
}
Clone repository
  • 360safeguardnativeapi
  • all new classmate
  • bind phone
  • code standard
  • deploy_sys
  • edit common
  • edit master
  • envrioment
  • find psw
  • front new classmate
  • front statck
  • git
  • Home
  • idcard md5
  • ide
View All Pages