文档
测试

修改用户密码

PUT
http://localhost:8020/user/setpwd

请求参数

参数名
类型
描述
必填
name
string
示例:周杰伦
必填
pwd
int
示例:123456789
必填

响应参数

参数名
类型
描述
必填
code
int
示例:4000
必填
flag
boolean
示例:true
必填
message
string
示例:修改成功
必填
data
object
数据字典
必填
result
object
数据字典
必填
n
int
示例:1
必填
nModified
int
示例:0
必填
ok
int
示例:1
必填
connection
object
数据字典
必填
id
int
示例:0
必填
host
string
示例:localhost
必填
port
int
示例:27017
必填
modifiedCount
int
示例:0
必填
upsertedId
object
示例:null
必填
upsertedCount
int
示例:0
必填
matchedCount
int
示例:1
必填
n
int
示例:1
必填
nModified
int
示例:0
必填
ok
int
示例:1
必填