- 菜单Menu接口
- 菜单Role接口
- 坐席业务接口
- app用户信息业务接口
- 品种诊断接口
- 小程序首页接口
- 品种诊断V2
- 龙虎榜接口
- 品种诊断-基本面分析
- 意见反馈接口
- 后台用户接口
- 基差价差接口
- 用户自选相关接口
- 测试接口
- 微信回调用户发送消息或关注事件接口
- controller
- 智能体接口
- 期智投APP首页接口
修改密码
POST
/admin/sys/user/updateUserPwd
后台用户接口
请求参数
Header 参数
token
string
可选
默认值:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkZXZpY2VfdmVyc2lvbiI6IkFuZHJvaWQgMTQiLCJhcHBfbmFtZSI6InFsaW5rIiwidWlkIjoiMjAyNDExMDAwMDM0NDAxIiwidXNlcl9zdGF0dXMiOiIxIiwiZGV2aWNlX2lkIjpudWxsLCJhcHBfdmVyc2lvbiI6IjEuMC4wIiwibmlja19uYW1lIjoiMjAyNDExMDAwMDM0NDAxIiwicGhvbmVfbnVtIjoiMTc2MjE5OTc0MDEiLCJkZXZpY2VfdHlwZSI6ImFwcGxldCIsImV4cCI6MTczMzQ1MDgzMn0.36ocQ_sX8BjECEZWtt6wwa1ZyDtywC7HbL27qI8xZX4
Body 参数application/json
accountStatus
integer <int32>
可选
ctime
string <date-time>
可选
cuser
string
可选
id
integer <int64>
可选
isDel
integer <int32>
可选
lastDate
string <date-time>
可选
mtime
string <date-time>
可选
muser
string
可选
newPassword
string
可选
oldPassword
string
可选
password
string
可选
phoneNum
string
可选
remark
string
可选
sysRoleList
array[object (SysRole) {9}]
可选
ctime
string <date-time>
可选
cuser
string
可选
id
integer <int64>
可选
isDel
integer <int32>
可选
mtime
string <date-time>
可选
muser
string
可选
remark
string
可选
roleCode
string
可选
roleName
string
可选
tagInfos
array[object (Map«string,string») {1}]
可选
额外字段
string
可选
userAvatar
string
可选
userEmail
string
可选
userName
string
可选
示例
{
"accountStatus": 0,
"ctime": "2019-08-24T14:15:22Z",
"cuser": "string",
"id": 0,
"isDel": 0,
"lastDate": "2019-08-24T14:15:22Z",
"mtime": "2019-08-24T14:15:22Z",
"muser": "string",
"newPassword": "string",
"oldPassword": "string",
"password": "string",
"phoneNum": "string",
"remark": "string",
"sysRoleList": [
{
"ctime": "2019-08-24T14:15:22Z",
"cuser": "string",
"id": 0,
"isDel": 0,
"mtime": "2019-08-24T14:15:22Z",
"muser": "string",
"remark": "string",
"roleCode": "string",
"roleName": "string"
}
],
"tagInfos": [
{
"property1": "string",
"property2": "string"
}
],
"userAvatar": "string",
"userEmail": "string",
"userName": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://applet.linkqh.com/applet/admin/sys/user/updateUserPwd' \
--header 'token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkZXZpY2VfdmVyc2lvbiI6IkFuZHJvaWQgMTQiLCJhcHBfbmFtZSI6InFsaW5rIiwidWlkIjoiMjAyNDExMDAwMDM0NDAxIiwidXNlcl9zdGF0dXMiOiIxIiwiZGV2aWNlX2lkIjpudWxsLCJhcHBfdmVyc2lvbiI6IjEuMC4wIiwibmlja19uYW1lIjoiMjAyNDExMDAwMDM0NDAxIiwicGhvbmVfbnVtIjoiMTc2MjE5OTc0MDEiLCJkZXZpY2VfdHlwZSI6ImFwcGxldCIsImV4cCI6MTczMzQ1MDgzMn0.36ocQ_sX8BjECEZWtt6wwa1ZyDtywC7HbL27qI8xZX4' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountStatus": 0,
"ctime": "2019-08-24T14:15:22Z",
"cuser": "string",
"id": 0,
"isDel": 0,
"lastDate": "2019-08-24T14:15:22Z",
"mtime": "2019-08-24T14:15:22Z",
"muser": "string",
"newPassword": "string",
"oldPassword": "string",
"password": "string",
"phoneNum": "string",
"remark": "string",
"sysRoleList": [
{
"ctime": "2019-08-24T14:15:22Z",
"cuser": "string",
"id": 0,
"isDel": 0,
"mtime": "2019-08-24T14:15:22Z",
"muser": "string",
"remark": "string",
"roleCode": "string",
"roleName": "string"
}
],
"tagInfos": [
{
"property1": "string",
"property2": "string"
}
],
"userAvatar": "string",
"userEmail": "string",
"userName": "string"
}'
返回响应
🟢200OK
application/json
Body
code
string
可选
date
object
可选
msg
string
可选
示例
{
"code": "string",
"date": {},
"msg": "string"
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found