忘记密码
[TOC]
简要描述
- 忘记密码接口
请求URL
https://food.taihuyun.vip/api/foodcash.user/resetPassword
请求方式
- POST
参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
applet_id | 是 | string | 应用程序ID |
shop_id | 是 | string | 门店ID |
token | 是 | string | 用户身份验证的令牌 |
real_name | 是 | string | 用户名 |
department_id | 是 | string | 部门ID |
mobile | 是 | string | 手机号 |
password | 是 | string | 新密码 |
re_password | 是 | string | 再次确认密码 |
返回示例
curl --location --request POST 'https://food.taihuyun.vip/api/foodcash.user/resetPassword' \
--data-raw '{
"real_name":"amy",
"department_id": 2,
"mobile":"15358052238",
"password":"15358052238",
"re_password":"15358052238"
}'
返回参数说明
- 返回状态代码: 200
{
"code": 1,
"msg": "重置成功",
"data": []
}
备注
- 更多返回错误代码请看基本参数中的参数说明