文档
测试

首页信息

GET
/api

响应参数

参数名
类型
描述
必填
banners
array
轮播图集
必填
thumbnail_http
string
图片地址
必填
products
array
商品
必填
id
int
商品id
必填
name
string
商品名称
必填
thumbnail_http
string
商品图片地址
必填
rel_price
float
定金
必填
price
float
预估价
必填

说明 / 示例

{ "banners": [ { "thumbnail": "/images/1653018520384.jpg", "thumbnail_http": "http://127.0.0.77/images/1653018520384.jpg" } ], "products": [ { "id": 1, "name": "ceshi_视频", "thumbnail": "/images/1653010749770.jpg", "price": 2000, "rel_price": 1, "express_price": null, "store": 1000, "ord": 0, "cate_id": 1, "sales_num": 10, "parameter": [ { "key": "尺寸", "value": "100*200" } ], "detail": "<img src=\"/editor/attached/image/20220520/20220520093251_13704.jpg\" alt=\"\" />", "home_page": 1, "status": 0, "comment_num": 0, "is_hot": 0, "created_at": "2022-05-20 09:39:09", "updated_at": "2022-07-18 10:49:32", "images": "<img src=\"/editor/attached/image/20220520/20220520093236_49892.jpg\" alt=\"\" />", "service":"[{\"key\":\"7\天\无\理\由\",\"value\":\"7\天\无\理\由\退\换\货\"}]", "deleted_at": null, "collect_num": 0, "customer_id": null, "deduction": "5.00", "final_payment": "1500.00", "process": "1,付定金-2,到店付尾款-3,发货", "video_src": "file\\202203\\959efc321858b6bf48b22d4b44630a12.mp4", "on_sale": null, "thumbnail_http": "http://127.0.0.77/images/1653010749770.jpg" }, { "id": 2, "name": "ceshi", "thumbnail": "/images/1653010762583.jpg", "price": 2000, "rel_price": 1, "express_price": null, "store": 1000, "ord": 0, "cate_id": 1, "sales_num": 10, "parameter": [ { "key": "规格", "value": "100*100" } ], "detail": "<img src=\"/editor/attached/image/20220520/20220520093251_13704.jpg\" alt=\"\" />", "home_page": 1, "status": 0, "comment_num": 0, "is_hot": 0, "created_at": "2022-05-20 09:39:22", "updated_at": "2022-07-18 16:18:13", "images": "<img src=\"/editor/attached/image/20220520/20220520093236_49892.jpg\" alt=\"\" />", "service":"[{\"key\":\"7\天\无\理\由\",\"value\":\"7\天\无\理\由\退\换\货\"}]", "deleted_at": null, "collect_num": 0, "customer_id": null, "deduction": "5.00", "final_payment": "1500.00", "process": "1,付定金-2,到店付尾款-3,发货", "video_src": null, "on_sale": [ { "key": "满减", "value": "满200减100" } ], "thumbnail_http": "http://127.0.0.77/images/1653010762583.jpg" } ] }