https://api.sciener.com/v3/user/resetPassword
只允许重置通过云端注册用户接口注册的用户的密码,不允许重置在科技侠APP里注册的用户的密码。
POST, ContentType:application/x-www-form-urlencoded
xxxxxxxxxxcurl --location -g --request POST 'https://api.sciener.com/v3/user/resetPassword' \--header 'Content-Type: application/x-www-form-urlencoded' \--data-urlencode 'clientId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \--data-urlencode 'clientSecret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \--data-urlencode 'username=abcd_c042f4db68f23406c6cecf84a7ebb0fe' \--data-urlencode 'password=e10adc3949ba59abbe56e057f20f883e' \--data-urlencode 'date=1625019027000'| 名称 | 类型 | 是否必需 | 描述 |
|---|---|---|---|
| clientId | String | Y | 创建应用分配的client_id |
| clientSecret | String | Y | 创建应用分配的client_secret |
| username | String | Y | 云端生成的带前缀的用户账号 |
| password | String | Y | 新密码(32位小写md5 加密) |
| date | Long | Y | 当前时间(时间戳,单位毫秒) |
| 参数 | 类型 | 描述 |
|---|---|---|
| errcode | Int | 错误码 |
| errmsg | String | 错误信息 |
| description | String | 错误描述 |
xxxxxxxxxx{"errcode": 0,"errmsg": "none error message","description":"表示成功或是"}