站点工具

Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo". upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo". upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners". upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners". upgrade now! [49.6] (what's this?)
Hotfix release available: 2017-02-19e "Frusterick Manners". upgrade now! [49.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2017-02-19d "Frusterick Manners". upgrade now! [49.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2017-02-19c "Frusterick Manners". upgrade now! [49.3] (what's this?)
Hotfix release available fixing security token and media manager: 2017-02-19b "Frusterick Manners". upgrade now! [49.2] (what's this?)
Hotfix release available fixing install and media manager issues: 2017-02-19a "Frusterick Manners". upgrade now! [49.1] (what's this?)
New release available: 2017-02-19 "Frusterick Manners". upgrade now! [49] (what's this?)
Hotfix release available: 2016-06-26e "Elenor of Tsort". upgrade now! [48.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2016-06-26d "Elenor of Tsort". upgrade now! [48.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2016-06-26c "Elenor of Tsort". upgrade now! [48.3] (what's this?)
Hotfix release available fixing security token: 2016-06-26b "Elenor of Tsort". upgrade now! [48.2] (what's this?)
Hotfix release available fixing authad issues: 2016-06-26a "Elenor of Tsort". upgrade now! [48.1] (what's this?)
New release available: 2016-06-26 "Elenor of Tsort". upgrade now! [48] (what's this?)
Hotfix release available: 2015-08-10a "Detritus". upgrade now! [47.1] (what's this?)
New release available: 2015-08-10 "Detritus". upgrade now! [47] (what's this?)
Hotfix release available: 2014-09-29d "Hrun". upgrade now! [46.4] (what's this?)
Hotfix release available: 2014-09-29c "Hrun". upgrade now! [46.3] (what's this?)
Hotfix release available to prevent XSS attack via SWF uploads: 2014-09-29b "Hrun". upgrade now! [46.2] (what's this?)
Hotfix release available: 2014-09-29a "Hrun". upgrade now! [46.1] (what's this?)
New release available: 2014-09-29 "Hrun". upgrade now! [46] (what's this?)
Hotfix release available: 2014-05-05e "Ponder Stibbons". upgrade now! [44.5] (what's this?)
Hotfix release available: 2014-05-05d "Ponder Stibbons". upgrade now! [44.4] (what's this?)
Hotfix release available to prevent XSS attack via SWF uploads: 2014-05-05c "Ponder Stibbons". upgrade now! [44.3] (what's this?)
Security Hotfix 2014-05-05b to prevent zero byte attacks on external auth systems is available. upgrade now! [44.2] (what's this?)
Security Hotfix 2014-05-05a for Issue 765 available. upgrade now! [44.1] (what's this?)

history

差别

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

到此差别页面的链接

后一修订版
前一修订版
history [2016/03/01 17:13]
112.25.156.122 创建
history [2016/03/02 17:19] (当前版本)
112.25.156.122
行 6: 行 6:
 如果本地存储有用户的登录授权码rp_access_token(来自: [[reg_login_api|APP客户端用户注册、登陆一体化接口]]),调用以下接口: 如果本地存储有用户的登录授权码rp_access_token(来自: [[reg_login_api|APP客户端用户注册、登陆一体化接口]]),调用以下接口:
  
-  * 接口:''​https://​m.repai.com/​api/​history/​appkey/​密钥编号/​appoid/​手机设备唯一编号/​rp_iid/​热拍商品编号/​token/​bd6e47df786dd7ab8781e0c1a5e1fdd4/​?​access_token=rpat_47be0653fe75e8ae3f3d4fa5de931c24''​+  * 接口:''​https://​m.repai.com/​api/​history?​access_token=rpat_47be0653fe75e8ae3f3d4fa5de931c24&​appkey=&​app_oid=&​app_version=&​app_channel=&​sche=''​
   ​   ​
  
行 15: 行 15:
  
   * appoid ​     【设备的唯一ID,iOS手机取OpenUDID(下载地址:[[https://​github.com/​ylechelle/​OpenUDID]])作为唯一ID;#​import "​OpenUDID.h"​ 然后 NSLog(@"​%@",​[OpenUDID value]); 打印出来的值即为OpenUDID,然后对OpenUDID做md5加密后的值,作为appoid】   * appoid ​     【设备的唯一ID,iOS手机取OpenUDID(下载地址:[[https://​github.com/​ylechelle/​OpenUDID]])作为唯一ID;#​import "​OpenUDID.h"​ 然后 NSLog(@"​%@",​[OpenUDID value]); 打印出来的值即为OpenUDID,然后对OpenUDID做md5加密后的值,作为appoid】
- 
-  * rp_iid 【16字节长的热拍商品编号】 
- 
-  * token    【防篡改验证串,token值的组成为,以PHP代码为例:md5("​RP"​.$appkey.$appsecret.$rp_iid.$appoid.$opt) 由客户端生成,其中 $appsecret为密钥,每个appkey对应的不同的密钥,密钥请询问张宴】 
  
   * access_token 【调用[[reg_login_api|APP客户端用户注册、登陆一体化接口]]获取到的rp_access_token】   * access_token 【调用[[reg_login_api|APP客户端用户注册、登陆一体化接口]]获取到的rp_access_token】
行 28: 行 24:
 === 输出参数说明: === === 输出参数说明: ===
  
-  * JSON格式输出,错误时,status值为false,reason值为错误原因文本信息,示例如下: +  * JSON格式输出
- +
-+
- "​reason":​ "​TOKEN验证未通过,非法请求!",​ +
- "​status":​ false +
-+
- +
-  * JSON格式输出,正确时,status值为true,示例如下:+
  
  {  {
- "status": ​true+    ​"list": ​
- "reason": ​0 +        { 
- }+            "​num_iid":​ "​2014393756443677",​ 
 +            "​title":​ "​韩版厨房器皿糖果色大号保鲜盒多功能密封保鲜盒冰箱密封盒650ml",​ 
 +            "​pic_url":​ "​http://​pic.repaiapp.com/​pic/​52/​8c/​4d/​528c4d25b5ad4bf5908d30fdc55f599c8acc82d4.jpg"​ 
 +        }, 
 +        { 
 +            "​num_iid":​ "​2014471230884292",​ 
 +            "​title":​ "​婴儿松紧式尿布扣 可调节搭配全棉纱布尿布固定带1个",​ 
 +            "​pic_url":​ "​http://​pic.repaiapp.com/​pic/​fd/​3d/​21/​fd3d21fa7dcfaa280b1a8287b0553a350a10a742.png"​ 
 +        }, 
 +        { 
 +            "​num_iid":​ "​2014519877478806",​ 
 +            "​title":​ "​储物罐 创意玻璃瓶喜糖 玻璃瓶 糖果瓶 婚庆玻璃瓶 单只装",​ 
 +            "​pic_url":​ "​http://​pic.repaiapp.com/​pic/​10/​95/​e6/​1095e639baa8a60c78437b7125ccfd55ef318b6d.png"​ 
 +        } 
 +    ]
 +    "total": ​3 
 +    }
  
 [[start|返回首页]] [[start|返回首页]]
history.1456823625.txt.gz · 最后更改: 2016/03/01 17:13 由 112.25.156.122