~~~[api] get:http://dev.kekezu.net/api/commodityList *type#作品或服务的分类 传1代表作品 传2代表服务 name#作品或服务的名称 cate_id#二级行业分类id或热门分类id desc#说明文字排序 1:综合 2金额 3成交量 4好评数 page#说明文字 <<< success { "code": 1000, "message": "获取威客商城信息成功", "data": { "total": 2,---------------------------------------------------------------------------总记录数 "per_page": 15,-------------------------------------------------------------------每页显示记录数 "current_page": 1,---------------------------------------------------------------当前页数 "last_page": 1,--------------------------------------------------------------------最后一页页数 "next_page_url": null,------------------------------------------------------------下一页页面链接 "prev_page_url": null,------------------------------------------------------------上一页页面链接 "from": 1, "to": 2, "data": [ { "id": 5,----------------------------------------------------------------------------作品或服务id "uid": 137,-----------------------------------------------------------------------用户id "shop_id": 3,---------------------------------------------------------------------店铺id "cate_id": 282,-------------------------------------------------------------------商品二级分类编号 "title": "11231",-------------------------------------------------------------------商品标题 "unit": "件",-------------------------------------------------------------------------商品价格单位 "cash": "0.01",--------------------------------------------------------------------金额 "cover": null,----------------------------------------------------------------------商品封面 "sales_num": 3,------------------------------------------------------------------卖出数量 "city_name": "北京市哈尔滨市",-------------------------------------------------------------地区名称 "cate_name": "新房装修"------------------------------------------------------------分类名称(如果没有则为空) }, { "id": 76, "uid": 153, "shop_id": 5, "cate_id": 204, "title": "1111", "unit": "件", "cash": "11.00", "cover": "http://dev.kekezu.net/attachment/default/2016/09/22/3597c8669bbad17c6265aa4a950f0967.jpg", "sales_num": 1, "seo_desc": null, "city_name": "湖北省武汉市", "cate_name": null } ] "recommend": [--------------------------------------------------------data为空时 取推荐数据 { "id": 5,----------------------------------------------------------------------------作品或服务id "uid": 137,-----------------------------------------------------------------------用户id "shop_id": 3,---------------------------------------------------------------------店铺id "cate_id": 282,-------------------------------------------------------------------商品二级分类编号 "title": "11231",-------------------------------------------------------------------商品标题 "unit": "件",-------------------------------------------------------------------------商品价格单位 "cash": "0.01",--------------------------------------------------------------------金额 "cover": null,----------------------------------------------------------------------商品封面 "sales_num": 3,------------------------------------------------------------------卖出数量 "city_name": "北京市哈尔滨市",-------------------------------------------------------------地区名称 "cate_name": "新房装修"------------------------------------------------------------分类名称(如果没有则为空) }, { "id": 298, "uid": 171, "shop_id": 17, "cate_id": 416, "title": "带刀叉菜板", "unit": "件", "cash": "238.00", "cover": "http://dev.kekezu.net/attachment/sys/3bbcca10456413c00ddfe06481d9c784.png", "sales_num": 1, "city_name": "长春市", "cate_name": null }, { "id": 297, "uid": 171, "shop_id": 17, "cate_id": 416, "title": "不倒杯", "unit": "件", "cash": "1330.00", "cover": "http://dev.kekezu.net/attachment/sys/5c18fabe377b78008b09cb9daf38181c.jpg", "sales_num": 1, "city_name": "长春市", "cate_name": null }, { "id": 292, "uid": 194, "shop_id": 58, "cate_id": 355, "title": "App开发", "unit": "份", "cash": "500.00", "cover": "http://dev.kekezu.net/attachment/sys/8bef67108085c436d79295b9bc2e32ce.jpeg", "sales_num": 0, "city_name": "", "cate_name": null }, { "id": 290, "uid": 3485, "shop_id": 61, "cate_id": 356, "title": " 国家电网改制完成:全民所有制改为国有独资企业", "unit": "件", "cash": "200.00", "cover": "http://dev.kekezu.net/attachment/sys/43e320fdc23d01f7097dee569678cb89.gif", "sales_num": 0, "city_name": "", "cate_name": null } ] } } <<< remark code 1000 message 获取威客商城信息成功 data 返回作品或服务信息 ~~~