简要描述:
- 账号密码-忘记密码
action
plugin.account-login.frotend.member.forgetPassword
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
account | 是 | string | 账号 |
password | 是 | string | 密码 |
confirm_password | 是 | string | 确认密码 |
fathername | 是 | string | 父亲姓名 |
mothername | 是 | string | 母亲姓名 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"uid": 698217,
"uniacid": 5,
"mobile": "",
"email": "",
"groupid": 0,
"credit1": "100.00",
"credit2": "0.00",
"credit3": "0.00",
"credit4": "0.00",
"credit5": "0.00",
"credit6": "0.00",
"createtime": 1606975356,
"realname": "",
"nickname": "a123456",
"signature": null,
"avatar": "http://shop/static/images/photo-mr.jpg",
"qq": "",
"vip": 0,
"gender": 0,
"birthyear": 0,
"birthmonth": 0,
"birthday": "2020-12-04",
"constellation": "",
"zodiac": "",
"telephone": "",
"idcard": "",
"studentid": "",
"grade": "",
"address": "",
"zipcode": "",
"nationality": "",
"resideprovince": "",
"residecity": "",
"residedist": "",
"graduateschool": "",
"company": "",
"education": "",
"occupation": "",
"position": "",
"revenue": "",
"affectivestatus": "",
"lookingfor": "",
"bloodtype": "",
"height": "",
"weight": "",
"alipay": null,
"msn": "",
"taobao": "",
"site": "",
"bio": "",
"interest": "",
"pay_password": "0",
"account": "a123456",
"alipay_name": null,
"province_name": "",
"city_name": "",
"area_name": "",
"province": 0,
"city": 0,
"area": 0,
"wechat": null,
"level_id": 0,
"level_name": "普通会员",
"is_agent": true,
"referral": {
"uid": "",
"avatar": "/static/images/photo-mr.jpg",
"nickname": "总店",
"level": "",
"is_show": null
},
"qr": "http://shop/storage/app/public/qr/5_698217.png",
"avatar_dir": "http://shop/storage/app/public/avatar/",
"copyright": "",
"credit": {
"is_show": 1,
"text": "余额",
"data": "0.00"
},
"integral": {
"text": "积分",
"data": "100.00"
},
"love_show": {
"is_show": 1,
"text": "爱心值",
"data": "0.00"
},
"avatar_image": "http://shop/static/images/photo-mr.jpg",
"username": "a123456"
}
}
错误时返回:
{
"result": 0,
"msg": "密保答案错误",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
result | int | 注册状态 0-失败;1-成功 |
data | array | 用户数据 |
备注:
- 更多返回错误代码请看首页的错误代码描述