站点工具

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?)

in_rp_api

内部获取热拍自营商品API接口

1、PHP内部引用存储图片接口

<?php
     require_once("/Data/webapps/m.repai.com/m/phpapi.php"); //PHP引用方式,需要引用的框架入口文件
           //如果当前文件 require 了 bigsea类  出现保存  请 使用:
           //require_once("/Data/webapps/m.repai.com/m/phpapi_nobigsea.php");
           
     $result = phpapi_mvc("b2c", "b2c_list", array('offset'=>'0', 'limit'=>'10'));
     var_dump($result);exit;
?>

输入参数说明:

  • offset 【获取列表中的商品,从某个位置开始】
  • limit 【每次获取商品的个数】

输出参数说明:

  • 示例如下:
  {
  "count": 19,
  "offset": 0,
  "limit": 1,
  "data": [
      {
          "num_iid": "2014288916176300",
          "title": "DIY桌面木质收纳盒/化妆盒--蝴蝶(2-001)",
          "pic_url": "2014288916176300",
          "pic_url_list": [
              "http://pic.repaiapp.com/pic/5a/e5/45/5ae545bac848f29ddea68ba772b0b26d1459b56b.jpg",
              "http://pic.repaiapp.com/pic/8e/33/95/8e33953a824d7b469d046f7633fffb74b0e05995.jpg",
              "http://pic.repaiapp.com/pic/9f/32/95/9f329543af6afbbdb70cf14120ba0fa4a417e315.jpg"
          ],
          "price": 8,
          "origin_price": 8,
          "range_price": 800,
          "postfee": 0,
          "volume": 0,
          "address": "江苏苏州",
          "shop": "热拍旗舰店",
          "nick": "热拍旗舰店",
          "shop_type": "C",
          "shop_logo": "repai",
          "shop_score": [
              {
                  "title": "发货速度",
                  "score": "5.0",
                  "highGap": "9.99"
              },
              {
                  "title": "服务态度",
                  "score": "5.0",
                  "highGap": "9.99"
              },
              {
                  "title": "描述相符",
                  "score": "5.0",
                  "highGap": "9.99"
              }
          ],
          "shop_credit": {
              "level": 30,
              "num": 30,
              "logo": 30
          },
          "comment": {
              "counts": 1,
              "list": [
                  {
                      "nick": "sinoly24",
                      "headPic": "http://wwc.taobaocdn.com/avatar/getAvatar.do?userId=859165644&width=80&height=80&type=sns",
                      "star": "4",
                      "feedback": "东西很不错,不过物流不太理想",
                      "subInfo": "2015-04-04 颜色分类:颜色随机"
                  }
              ]
          },
          "skus": [
              {
                  "propId": 2767379502,
                  "propName": "颜色分类",
                  "values": [
                      {
                          "name": "颜色随机",
                          "valueId": 3807876979
                      }
                  ]
              }
          ],
          "sku_id_map": {
              "2767379502:3807876979": {
                  "price": 8.5,
                  "cost": 8.5,
                  "quantity": "10"
              }
          }
      }
  ]
  }
  • count 【商品总数】
  • offset 【商品的起始位置】
  • limit 【每次返回的商品数量】

返回首页

in_rp_api.txt · 最后更改: 2015/05/06 15:13 由 112.25.156.122