文档
测试

修改密码

POST
http://192.168.1.222/member/api.users/editPwd

请求参数

参数名
类型
描述
必填
old_password
str
示例:18520745660
必填
password
string
示例:lianyu001
必填
cfm_password
str
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:登录成功.
必填
url
object
示例:null
必填
data
object
数据字典
必填
user_id
int
示例:29956 用户ID
必填
pid
int
示例:29977 用户上级ID
必填
role_id
int
示例:0
必填
mobile
string
示例:18520745660 手机号
必填
user_name
string
示例: 用户名称
必填
pay_password
string
示例: 支付密码
必填
nick_name
string
示例:喻金凰 用户昵称
必填
headimgurl
string
示例:http://kld.com 头像地址
必填
birthday
object
示例:null 生日
必填
recommend_token
object
示例:null 上级Token
必填
token
string
示例:ERpWI5uZDOKj33PD 本次登录token
必填
signature
string
示例:
必填
show_mobile
int
示例:0
必填
province
int
示例:0
必填
city
int
示例:0
必填
district
int
示例:0
必填
sex
int
示例:0
必填
reg_time
int
示例:1606201657 注时间
必填
total_consume
string
示例:0.00
必填
is_bind
int
示例:0
必填
last_buy_time
int
示例:1606719192
必填
last_up_role_time
int
示例:0
必填
login_time
int
示例:1606975213 登录时间
必填
login_ip
string
示例:192.168.1.222 登录IP
必填
last_login_time
int
示例:1606974684 最初登录时间
必填
last_login_ip
string
示例:192.168.1.102 最初登录IP
必填
is_ban
int
示例:0
必填
login_odd_time
int
示例:1606295065
必填
login_odd_num
int
示例:0
必填
send_repeat_buy_msg_time
int
示例:0
必填
account
object
数据字典 用户快乐豆信息
必填
user_id
int
示例:29956
必填
total_dividend
string
示例:0.00
必填
total_integral
string
示例:310.00
必填
balance_money
string
示例:999700.00
必填
use_integral
string
示例:9999080.00 用户快乐豆
必填
bean_value
string
示例:1000000.00
必填
update_time
int
示例:1606728567
必填
shareUrl
string
示例:http://kld.com/?share_token=ERpWI5uZDOKj33PD
必填
level
object
数据字典
必填
level_id
int
示例:3
必填
level_name
string
示例:铜牌会员
必填
min
int
示例:100
必填
max
int
示例:999
必填
level_pro
string
示例:95.00
必填
id
int
示例:3
必填
name
string
示例:铜牌会员
必填
role
object
数据字典
必填
role_id
int
示例:0
必填
role_name
string
示例:粉丝
必填

说明 / 示例

``` { "code": 1, "msg": "登录成功.", "url": null, "data": { "user_id": 29956, "pid": 29977, "role_id": 0, "mobile": "18520745660", "user_name": "", "pay_password": "", "nick_name": "喻金凰", "headimgurl": "http://kld.com", "birthday": null, "recommend_token": null, "token": "ERpWI5uZDOKj33PD", "signature": "", "show_mobile": 0, "province": 0, "city": 0, "district": 0, "sex": 0, "reg_time": 1606201657, "total_consume": "0.00", "is_bind": 0, "last_buy_time": 1606719192, "last_up_role_time": 0, "login_time": 1606975213, "login_ip": "192.168.1.222", "last_login_time": 1606974684, "last_login_ip": "192.168.1.102", "is_ban": 0, "login_odd_time": 1606295065, "login_odd_num": 0, "send_repeat_buy_msg_time": 0, "account": { "user_id": 29956, "total_dividend": "0.00", "total_integral": "310.00", "balance_money": "999700.00", "use_integral": "9999080.00", "bean_value": "1000000.00", "update_time": 1606728567 }, "shareUrl": "http://kld.com/?share_token=ERpWI5uZDOKj33PD", "level": { "level_id": 3, "level_name": "铜牌会员", "min": 100, "max": 999, "level_pro": "95.00", "id": 3, "name": "铜牌会员" }, "role": { "role_id": 0, "role_name": "粉丝" } } } ```