多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 首页 * 接口说明 获取首页展示数据 * 请求地址 /public\_api/index * 请求参数 无 * 响应数据 ~~~ { "code": 200, "msg": "ok", "data": { "banner": [{ "id": 104, "name": "banenr2", "url": "\/pages\/pink-list\/index?id=2", "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3db14908923.jpg" }], "menus": [{ "id": 99, "name": "收藏", "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc7146add5.png", "url": "\/pages\/collect\/collect", "show": "是" }, { "id": 100, "name": "砍价", "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc72335ee5.png", "url": "\/pages\/activity\/goods_bargain\/index", "show": "否" }, { "id": 101, "name": "秒杀", "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc730dead2.png", "url": "\/pages\/miao-list\/miao-list", "show": "否" }, { "id": 102, "name": "拼团", "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc73feecaf.png", "url": "\/pages\/pink-list\/index", "show": "否" }], "roll": [{ "id": 121, "info": "CRMEB电商系统 V 2.5 即将上线!", "url": "\/pages\/index\/index", "show": "是" }, { "id": 122, "info": "CRMEB电商系统 V 2.5 即将上线!", "url": "\/pages\/miao-list\/miao-list", "show": "否" }, { "id": 123, "info": "CRMEB电商系统 V 2.5 即将上线!", "url": "\/pages\/index\/index", "show": "是" }], "info": { "fastInfo": "上百种商品分类任您选择", "bastInfo": "老李诚意推荐品质商品", "firstInfo": "多个优质商品最新上架", "salesInfo": "库存商品优惠促销活动", "fastList": [{ "id": 2, "cate_name": "清洁工具", "pid": 1, "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3db9de2b73a.jpg" }, { "id": 3, "cate_name": "生活电器", "pid": 1, "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dbc27c69c7.jpg" }, { "id": 4, "cate_name": "数码产品", "pid": 1, "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dba4187461.jpg" }, { "id": 5, "cate_name": "日化用品", "pid": 1, "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dbc6a38fab.jpg" }, { "id": 7, "cate_name": "手表", "pid": 6, "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/03\/28\/5c9ccf7e9f4d0.jpg" }, { "id": 8, "cate_name": "皮包", "pid": 6, "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/03\/28\/5c9ccf7e9f4d0.jpg" }], "bastList": [{ "id": 1, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dba1366885.jpg", "store_name": "无线吸尘器F8 玫瑰金礼盒版", "cate_id": "2", "price": "0.01", "ot_price": "1699.00", "sales": "128", "unit_name": "件", "sort": 1 }, { "id": 4, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc23646fff.jpg", "store_name": "互联网电热水器1A", "cate_id": "3", "price": "999.00", "ot_price": "1599.00", "sales": "25", "unit_name": "件", "sort": 0 }, { "id": 3, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc0ef27068.jpg", "store_name": "智米加湿器 白色", "cate_id": "3", "price": "249.00", "ot_price": "299.00", "sales": "10", "unit_name": "件", "sort": 0 }, { "id": 2, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dbc27c69c7.jpg", "store_name": "智能马桶盖 AI版", "cate_id": "3", "price": "0.01", "ot_price": "1999.00", "sales": "28", "unit_name": "件", "sort": 0 }], "firstList": [{ "id": 1, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dba1366885.jpg", "store_name": "无线吸尘器F8 玫瑰金礼盒版", "cate_id": "2", "price": "0.01", "unit_name": "件", "sort": 1 }, { "id": 4, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc23646fff.jpg", "store_name": "互联网电热水器1A", "cate_id": "3", "price": "999.00", "unit_name": "件", "sort": 0 }, { "id": 3, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc0ef27068.jpg", "store_name": "智米加湿器 白色", "cate_id": "3", "price": "249.00", "unit_name": "件", "sort": 0 }, { "id": 2, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dbc27c69c7.jpg", "store_name": "智能马桶盖 AI版", "cate_id": "3", "price": "0.01", "unit_name": "件", "sort": 0 }], "bastBanner": [{ "id": 127, "img": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/03\/28\/5c9cd03224d59.jpg", "comment": "精品推荐", "link": "\/pages\/first-new-product\/index" }, { "id": 128, "img": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/03\/28\/5c9cd03224d59.jpg", "comment": "精品推荐", "link": "\/pages\/first-new-product\/index" }] }, "activity": [{ "id": 124, "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/03\/28\/5c9ccf7e9f4d0.jpg", "title": "一起来拼团", "info": "优惠多多", "link": "\/pages\/activity\/goods_combination\/index" }, { "id": 125, "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/03\/28\/5c9ccf7e97660.jpg", "title": "秒杀专区", "info": "新能源汽车火热销售", "link": "\/pages\/activity\/goods_seckill\/index" }, { "id": 126, "pic": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/03\/28\/5c9ccfc86a6c1.jpg", "title": "砍价活动", "info": "呼朋唤友来砍价~~~", "link": "\/pages\/activity\/goods_bargain\/index" }], "lovely": [{ "id": 88, "img": "http:\/\/shop.crmeb.net\/public\/uploads\/editor\/20180601\/5b10b2b0969d7.jpg", "comment": "拼团" }], "benefit": [{ "id": 4, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc23646fff.jpg", "store_name": "互联网电热水器1A", "cate_id": "3", "price": "999.00", "ot_price": "1599.00", "stock": 485, "unit_name": "件", "sort": 0 }, { "id": 3, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc0ef27068.jpg", "store_name": "智米加湿器 白色", "cate_id": "3", "price": "249.00", "ot_price": "299.00", "stock": 999, "unit_name": "件", "sort": 0 }, { "id": 2, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dbc27c69c7.jpg", "store_name": "智能马桶盖 AI版", "cate_id": "3", "price": "0.01", "ot_price": "1999.00", "stock": 994, "unit_name": "件", "sort": 0 }], "likeInfo": [{ "id": 1, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dba1366885.jpg", "store_name": "无线吸尘器F8 玫瑰金礼盒版", "cate_id": "2", "price": "0.01", "unit_name": "件", "sort": 1 }, { "id": 4, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc23646fff.jpg", "store_name": "互联网电热水器1A", "cate_id": "3", "price": "999.00", "unit_name": "件", "sort": 0 }, { "id": 3, "image": "http:\/\/datong.crmeb.net\/public\/uploads\/attach\/2019\/01\/15\/5c3dc0ef27068.jpg", "store_name": "智米加湿器 白色", "cate_id": "3", "price": "249.00", "unit_name": "件", "sort": 0 }] }, "count": 0 } ~~~