文档
测试

推广订单

POST
/api/distion/orders

请求参数

参数名
类型
描述
必填
status
int
1,未结算,2,已结算
必填
page
int
当前页
必填

响应参数

参数名
类型
描述
必填
data
object
分页数据
必填
current_page
int
当前页
必填
last_page
int
最后一页
必填
data
array
订单数据
必填
trade_no
string
订单号
必填
order_goods
array
订单商品
必填
price
float
购买单价
必填
num
int
购买数量
必填
goods
object
购买商品信息
必填
name
string
商品名称
必填
thumbnail_http
string
商品图片
必填
distribution
object
提层信息
必填
recom_num
int
提成金额
必填

说明 / 示例

{ "data": { "current_page": 1, "data": [ { "id": 4, "postage": 0, "status": 0, "pay_type": 0, "pay_at": null, "created_at": "2022-07-26 15:00:24", "updated_at": "2022-07-26 15:00:24", "deleted_at": null, "send_at": null, "integral": 0, "change_address": 0, "trade_no": "2022072656985054", "type": 1, "user_id": 4, "total_price": "1.00", "success_at": null, "store_id": 0, "user_coupon_id": 0, "level": 0, "pay_price": 1, "genre": 0, "coupon_discount": "0.00", "detail": null, "status_name": "等待买家付款", "buy_status_name": "等待付款", "is_refund": true, "type_name": "自提", "genre_name": "正常订单", "order_goods": [ { "id": 3, "price": 1, "num": 1, "specifications": "", "order_id": 4, "goods_id": 2, "is_comment": 0, "integral": 0, "postage": 0, "good_size_id": null, "goods": { "id": 2, "name": "ceshi", "thumbnail": "/images/1653010762583.jpg", "price": 2000, "rel_price": 1, "express_price": null, "store": 998, "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-26 15:00:24", "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" } } ], "distribution": { "id": 3, "user_id": 4, "order_id": 4, "num": 10, "created_at": "2022-07-26 15:02:03", "updated_at": "2022-07-26 15:02:03", "type": 0, "recom_num": 5 } } ], "first_page_url": "http://127.0.0.77/api/distion/orders?page=1", "from": 1, "last_page": 1, "last_page_url": "http://127.0.0.77/api/distion/orders?page=1", "next_page_url": null, "path": "http://127.0.0.77/api/distion/orders", "per_page": "3", "prev_page_url": null, "to": 1, "total": 1 } }