站点工具


resetpass

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

Both sides previous revision 前一修订版
后一修订版
前一修订版
resetpass [2014/06/19 11:34]
106.2.171.114
resetpass [2022/07/24 13:22] (当前版本)
5.188.211.13 Could you tell me my balance, please? https://www.betterplaceaustralia.com.au/fucidine-salbe-bei-herpes-ghcm fucidin cream 2 for burns “It’s a scandal that 20 years after it was supposed to be completed, there is nothing close to a single mar
行 1: 行 1:
- +Could you tell me my balance, please? https://www.betterplaceaustralia.com.au/fucidine-salbe-bei-herpes-ghcm fucidin cream for burns  &​ldquo;​It&​rsquo;​s a scandal that 20 years after it was supposed to be completedthere is nothing close to a single market for services across Europe,” said Simon Walkerdirector general of the IoD. &​ldquo;​Creating a single market for the services market and for the digital economy must be a priority.&​rdquo;​ 
-===== APP客户端重置登录密码接口 ===== + 
- +
-{{ :​resetpass.png?300 |}} +
- +
-==== 1、客户端调用发送短信验证码接口(发送验证码按钮) ==== +
- +
-''​https://m.repai.com/user/​resetpass_sendsms_api/​appkey/​密钥编号/​phone/​十一位手机号/​timestamp/​时间戳/​token/​防篡改验证串''​ +
- +
-=== 输入参数说明: === +
- +
-  * appkey 【热拍卖家版Android客户端的appkey为100005,iOS为100004;买家版HTML5为100001,iOS为100002,Android为100003】 +
- +
-  * phone    【11位半角数字手机号,作为登陆名】 +
- +
-  * timestamp ​  ​【当前的UNIX时间戳】 +
- +
-  * token    【防篡改验证串,token值的组成为,以PHP代码为例:md5("​RP"​.$appkey.$appsecret.$phone.$timestamp) 由客户端生成,其中 $appsecret 为密钥,每个appkey对应的不同的密钥,密钥请询问张宴】 +
- +
----- +
- +
-=== 输出参数说明: === +
- +
-  * JSON格式输出,错误时,status值为false,reason值为错误原因文本信息,示例如下: +
- +
-+
- "​reason":​ "​很抱歉,由于您频繁获取短信验证码,系统已冻结6小时,请6小时后重试。",​ +
- "​status":​ false +
-+
- +
-备注:同一个手机账号,6小时内只能接收5次短信验证码。 +
- +
-  * JSON格式输出,正确时,status值为true,示例如下: +
- +
-+
- "​reason":​ "​短信验证码已发送到您的手机,短信接收可能会有延迟,敬请等候!",​ +
- "​status":​ true +
-+
- +
----- +
- +
-==== 2、客户端利用输入的短信验证码,重置密码的接口(确认按钮) ==== +
- +
-''​https://​m.repai.com/​user/​resetpass_newpass_api/​appkey/​密钥编号/​phone/​十一位手机号/​password/​六位数字登陆密码/​appoid/​手机设备唯一编号/​timestamp/​1402307990/​token/​73191b75734ea67df90cbb824ff67811/​appversion/​应用版本号/​osversion/​系统版本号/​network/​网络类型/​screenwidth/​手机屏幕分辨率宽度/​screenheight/​手机屏幕分辨率高度/​phonetype/​手机类型/​authcode/​短信验证码''​ +
- +
-=== 输入参数说明: === +
- +
-  * appkey 【热拍卖家版Android客户端的appkey为100005,iOS为100004;买家版HTML5为100001,iOS为100002,Android为100003】 +
- +
-  * phone    【11位半角数字手机号,作为登陆名】 +
- +
-  * password ​   【6位半角数字密码】 +
- +
-  * appoid ​     【设备的唯一ID,android手机取网卡mac地址的md5值作为唯一ID;iOS手机取OpenUDID作为唯一ID】 +
- +
-  * timestamp ​  ​【当前的UNIX时间戳,时间戳有效期20分钟】 +
- +
-  * token    【防篡改验证串,token值的组成为,以PHP代码为例:md5("​RP"​.$appkey.$appsecret.$phone.$password.$timestamp) 由客户端生成,其中 $appsecret 为密钥,每个appkey对应的不同的密钥,密钥请询问张宴】 +
- +
-  * appversion 【应用版本号,例如1.0.0】 +
- +
-  * osversion 【手机操作系统版本号,例如Android的版本号4.1.5,iOS的版本号7.1.1】 +
- +
-  * network 【网络类型,例如EDGE、HSDPA、HSPA、EVDOA等,此项参数传递时需要urlencode】 +
- +
-  * phonetype 【手机类型,例如Coolpad8050、GT-N5100、Lenovo A670t、ZTE N919等,此项参数传递时需要urlencode】 +
- +
-  * authcode 【用户手机接收到的四位数字短信验证码】 +
- +
----- +
- +
-=== 输出参数说明: === +
- +
-  * JSON格式输出,错误时,status值为false,reason值为错误原因文本信息,示例如下: +
- +
-+
- "​reason":​ "​短信验证码无效或已过期,请重新获取!"​, +
- "​status":​ false +
-+
- +
-备注:从安全角度考虑,如果用户输错验证码,必须重新获取新的短信验证码。 +
- +
-  * JSON格式输出,正确时,status值为true,并输出手机号、用户rp_uid、rp_access_token等基础信息(其中rp_access_token非常重要,用于判断用户是否登录),示例如下: +
- +
-+
- "​reason":​ "​登录成功!"​, +
- "​rp_access_token":​ "​rpat_47be0653fe75e8ae3f3d4fa5de931c24"​+
- "​rp_phone":​ "​15901283960",​ +
- "​rp_uid":​ "​1",​ +
- "​status":​ true +
-+
- +
-此接口完成密码重置后,所有用旧密码登录的终端用户会被注销登录,本终端会自动登录,登录后的输出参数跟 [[reg_login_api|APP客户端用户注册、登陆一体化接口]] 相同。 +
- +
-返回的rp_access_token相当于sessionid,用来查询登陆后的其他数据,以及做是否登陆判断,请APP客户端保持在本地。 +
- +
-[[reg_login_api|相关接口:APP客户端用户注册、登陆一体化接口]] +
- +
-[[start|返回首页]]+
resetpass.1403148897.txt.gz · 最后更改: 2014/06/19 11:34 由 106.2.171.114