文档
测试

我的订单

POST
/api/order/myOrder

接口描述

订单列表

请求参数

参数名
类型
描述
必填
order_status
int
订单状态 空或不传代表全部 0未支付 1待出行 2已完成 -1已取消
必填
evaluate_status
int
评价状态 未支付待出行已完成不传 待评价evaluate_status传0 order_status传2
必填

响应参数

参数名
类型
描述
必填
order_sn
string
订单编号
必填
order_status
string
订单状态 0未支付 1待出行 2已完成 -1已取消
必填
goods_id
string
商品id
必填
store_id
string
门店id
必填
trave_date
string
出行日期
必填
price
string
价格
必填
checi_id
string
车次id
必填
diy_name
string
商品名称
必填
store_name
string
门店名称
必填
order_status_text
string
订单状态-文字版
必填
week
string
周几
必填
evaluate_status
int
评价状态 0未评价 1已评价
必填

说明 / 示例

``` 按钮展示: 根据订单状态 未支付:立即支付 取消订单 订单详情 待出行:已出行 订单详情 已完成:(如果evaluate_status=0 展示去评价按钮) 订单详情 暂时没有退货退款订单 可以先注释掉 换成已取消 已取消订单只有订单详情一个按钮 { "code": 1, "msg": "请求成功", "time": "1672569497", "data": { "total": 1, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "order_sn": "gh_2023010189562", "order_status": 0, "goods_id": 49, "store_id": 16, "trave_date": "2023-01-04", "price": "498.00", "checi_id": 20, "diy_name": "测试商品", "store_name": "测试门店", "order_status_text": "待付款", "week": "星期四" } ] } } ```