... | ... | @@ -4,20 +4,18 @@ |
|
|
```
|
|
|
/user
|
|
|
```
|
|
|
action=find_password_send_email
|
|
|
action=find_email_password
|
|
|
|
|
|
#### 传参
|
|
|
| token |验证签名|
|
|
|
| timestamp |时间戳|
|
|
|
| uid |用户id|
|
|
|
| new_password |新密码|
|
|
|
|
|
|
```javascript
|
|
|
{action: 'check_password_email' , token: '75feac66bc82f200bb62493fa70ed3d0',time_strap: '1480582452',email: '2814920576%40qq.com'}
|
|
|
{action: 'find_email_password' , token: '75feac66bc82f200bb62493fa70ed3d0',time_strap: '1480582452',uid: '1245',email: '2814920576@qq.com,new_password':'654321'}
|
|
|
```
|
|
|
|
|
|
|传参|说明|是否必填|
|
|
|
|:---|:---|:---|
|
|
|
|action|接口名|是|
|
|
|
|uid|用户id|是|
|
|
|
|email|邮箱|是|
|
|
|
|
|
|
#### 返回值
|
|
|
```javascript
|
|
|
{
|
... | ... | @@ -34,4 +32,4 @@ msg: "邮件已发送,请登入邮箱激活!" |
|
|
| message |状态信息|
|
|
|
|
|
|
#### 示例
|
|
|
http://shuidi.dev.pingansec.com/user?action=find_password_send_email&uid=654&email=2814920576@qq.com |
|
|
\ No newline at end of file |
|
|
http://shuidi.dev.pingansec.com/find-emailpwd?action=find_email_password&sign_md5=75feac66bc82f200bb62493fa70ed3d0&time_strap=1480582452&email=2814920576%40qq.com&new_password=654321 |
|
|
\ No newline at end of file |