文档
测试

收藏列表

POST
/api/collect

请求参数

参数名
类型
描述
必填
page
int
当前页
必填

响应参数

参数名
类型
描述
必填
data
object
分页数据
必填
current_page
int
当前页
必填
last_page
int
最后一页
必填
data
array
收藏数据
必填
goods
object
产品
必填
id
int
产品id
必填
name
string
产品名称
必填
rel_price
float
定金
必填
thumbnail_http
string
列表图片
必填

说明 / 示例

{ "data": { "current_page": 1, "data": [ { "id": 2, "relation_id": 1, "user_id": 1, "created_at": null, "type": 0, "goods": { "id": 1, "name": "ceshi_视频", "thumbnail": "/images/1653010749770.jpg", "price": 2000, "rel_price": 1, "express_price": null, "store": 997, "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-08-08 17:18:08", "images": "<img src=\"/editor/attached/image/20220520/20220520093236_49892.jpg\" alt=\"\" />", "service":"[{\"key\":\"7\天\无\理\由\",\"value\":\"7\天\无\理\由\退\换\货\"}]", "deleted_at": null, "collect_num": 1, "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://192.168.5.90/images/1653010749770.jpg" } } ], "first_page_url": "http://192.168.5.90/api/collect?page=1", "from": 1, "last_page": 1, "last_page_url": "http://192.168.5.90/api/collect?page=1", "next_page_url": null, "path": "http://192.168.5.90/api/collect", "per_page": "1", "prev_page_url": null, "to": 1, "total": 1 } }