企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### 商品列表 /** * 商品根据条件获得列表 * @http_method get|post post为了兼容新接口,解决前端选择数组的问题 * @param int $category_id 分类id * @param int $order_type 1销量 2点击率 3价格 * @param int $order 1 升序排列 其他值都为desc倒序排列 * @param string $keywords 关键词 目前只对商品标题有效果 * @param int $city_id 城市id * @param int $area_id 区域id * @param array $brand_items 品牌 * @param array $attr_items 属性 * @param float $price_from 价格区间开始 * @param float $price_to 价格区间结束 * @param page 页数 * @param rows 条数 * @author 韩文博 */ +++ get:Server/Goods/search <<< success { "code":0, "result":{ "total_number":19, "list":[ { "id":1062, "title":"孕婴推荐:晋皇羊肥小米孕婴卡", "category_id":702, "price":"169.00", "market_price":"169.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20171013/1507883107522206.jpg", "freight":"0.00", "storage":999, "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":[ ] }, { "id":1059, "title":"特价尝鲜:晋皇羊肥小米尝鲜卡", "category_id":702, "price":"199.00", "market_price":"199.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170928/1506565219241172.jpg", "freight":"0.00", "storage":9997, "sale_num":2, "images":[ ] }, { "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":[ ] }, { "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":1042, "title":"晋皇羊肥小米——私人订制挚爱卡", "category_id":702, "price":"399.00", "market_price":"699.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506500432540853.jpg", "freight":"0.00", "storage":4995, "sale_num":0, "images":[ ] }, { "id":1032, "title":"晋皇羊肥小米——私人订制衷爱卡", "category_id":702, "price":"599.00", "market_price":"999.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506484556519630.jpg", "freight":"0.00", "storage":4995, "sale_num":0, "images":[ { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506484556519630.jpg" } ] }, { "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":[ ] }, { "id":1037, "title":"晋皇羊肥小米——私人订制珍爱卡", "category_id":702, "price":"1199.00", "market_price":"1899.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506484873596363.jpg", "freight":"0.00", "storage":4995, "sale_num":0, "images":[ { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506484873596363.jpg" }, { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506484876319455.jpg" } ] }, { "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":1047, "title":"晋皇羊肥小米企业定制1000-5000斤生态黄小米", "category_id":702, "price":"20.80", "market_price":"20.80", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506501394228455.jpg", "freight":"0.00", "storage":4999995, "sale_num":0, "images":[ ] }, { "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":1052, "title":"晋皇羊肥小米企业定制5001-10000斤生态黄小米", "category_id":702, "price":"19.80", "market_price":"19.80", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506501839903541.jpg", "freight":"0.00", "storage":4999995, "sale_num":0, "images":[ ] }, { "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":1057, "title":"晋皇羊肥小米企业定制10000斤以上生态黄小米", "category_id":702, "price":"18.80", "market_price":"18.80", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506502396407543.jpg", "freight":"0.00", "storage":4999995, "sale_num":0, "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" } ] }, { "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":[ ] }, { "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":1025, "title":"测试卡劵(请勿拍)", "category_id":702, "price":"0.01", "market_price":"199.00", "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170921/1505961794932613.png", "freight":"0.00", "storage":1995, "sale_num":5, "images":[ { "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170921/1505961794932613.png" } ] } ] }, "msg":"SUCCESS" } <<< error +++