合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
## 获得某个分类的信息和分类下的产品 /** * 获得某个分类的信息和分类下的产品 * @http_method get * @param $category_id 分类id * @param $order_type 1销量 2点击率 3价格 * @param $order 1 升序排列 其他值都为desc倒序排列 * @param $keywords 关键词 目前只对商品标题有效果 * @param page 页数 * @param rows 条数 * @author 韩文博 */ +++ get:Server/Goods/detail <<< success { "code":0, "result":{ "total_number":10, "list":[ { "id":1013, "title":"火爆热销:晋皇羊肥小米黄小米生态小米五谷杂粮2016新小米(礼盒装)", "category_id":703, "price":"398.00", "market_price":"0.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506045631291979.jpg", "freight":"0.00", "storage":999, "sale_num":0, "images":[ { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506045631291979.jpg" } ] }, { "id":1061, "title":"小米测试", "category_id":703, "price":"0.01", "market_price":"50.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170929/1506677466921832.jpg", "freight":"0.01", "storage":1000, "sale_num":0, "images":[ ] }, { "id":1015, "title":"火爆热销:晋皇羊肥小米黄小米生态小米五谷杂粮2016新小米(礼盒装)", "category_id":703, "price":"298.00", "market_price":"0.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506045604359336.jpg", "freight":"0.00", "storage":997, "sale_num":2, "images":[ { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506045604359336.jpg" } ] }, { "id":1060, "title":"晋皇羊肥小米:2年休耕基地米黄小米五谷杂粮", "category_id":703, "price":"48.00", "market_price":"48.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170928/1506568151120557.jpg", "freight":"0.00", "storage":9997, "sale_num":2, "images":[ ] }, { "id":990, "title":"晋皇羊肥小米:3年休耕基地米黄小米五谷杂粮生态米", "category_id":703, "price":"68.00", "market_price":"0.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506043089665316.jpg", "freight":"0.00", "storage":994, "sale_num":5, "images":[ { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506043089665316.jpg" } ] }, { "id":992, "title":"晋皇羊肥小米:妈妈米黄小米五谷杂粮生态米", "category_id":703, "price":"108.00", "market_price":"0.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506045356552943.jpg", "freight":"0.00", "storage":994, "sale_num":5, "images":[ ] }, { "id":991, "title":"晋皇羊肥小米:5年休耕基地米黄小米五谷杂粮生态米", "category_id":703, "price":"88.00", "market_price":"0.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506044871683973.jpg", "freight":"0.00", "storage":992, "sale_num":7, "images":[ ] }, { "id":986, "title":"测试-勿拍", "category_id":703, "price":"48.00", "market_price":"0.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506063237681467.jpg", "freight":"0.00", "storage":985, "sale_num":14, "images":[ { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506063237681467.jpg" } ] }, { "id":993, "title":"晋皇羊肥小米:宝宝米黄小米五谷杂粮生态米", "category_id":703, "price":"118.00", "market_price":"0.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506044945776938.jpg", "freight":"0.00", "storage":980, "sale_num":19, "images":[ ] }, { "id":1024, "title":"测试商品(勿拍)", "category_id":703, "price":"0.01", "market_price":"78.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170921/1505961333717046.png", "freight":"0.00", "storage":57, "sale_num":43, "images":[ { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170921/1505961333717046.png" } ] } ], "info":{ "goods_category":{ "id":1, "title":"线上商品", "pid":0, "level":1, "keywords":"", "description":"", "show_in_nav":0, "grade":"", "status":1, "sort":0, "img":"", "url":"", "admin_open":0, "type_id":0, "ad_position_id":0, "banner":"" } } }, "msg":"SUCCESS" } <<< error +++