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
  • change_password

Last edited by 陈昌 Nov 28, 2016
Page history

change_password

修改密码

调用地址

/user

action=change_password

传参

{action: 'change_password' , old_password: '123456' , new_password: '654321'}
传参 说明 是否必填
action 接口名 是
old_password 原密码 是
new_password 新密码 是

返回值

{
status: 0,
message: "您的密码已经更改",
data: {
msg: "您已成功退出登陆"
}
}
{
status: 15004,
message: "这个账户没登陆",
data: {
msg: "您已成功退出登陆"
}
}
{
status: 15005,
message: "密码格式不对!",
data: [ ]
}
{
status: 15006,
message: "旧密码不正确!",
data: [ ]
}
返回值 说明
message 状态信息

示例

http://shuidi.dev.pingansec.com/user?action=change_password&old_password=582546&new_password=123456

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