🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## :-: **商城订单列表** ~~~[api] post:/index/Shop/order *varchar:token=100069&950b09e3299fe283065b2d1255516e53#登录密钥 *tinyint:state=1#1=全部;2=待付款;3=待收货;4=已完成;5=已取消 <<< 全部 { "code": 1, "msg": "获取成功", "data": [ { "id": 1, "shop_id": 1, "order_id": 27, "amount": 1, "shop": { "id": 1, "name": "ACTEV兰博基尼儿童电动车四轮超电动汽车小孩玩具车", "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" } }, "order": { "id": 27, "price": "1.00", "pay_status": 1, "goods_status": 0 } }, { "id": 2, "shop_id": 1, "order_id": 27, "amount": 2, "shop": { "id": 1, "name": "ACTEV兰博基尼儿童电动车四轮超电动汽车小孩玩具车", "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" } }, "order": { "id": 27, "price": "1.00", "pay_status": 1, "goods_status": 0 } }, { "id": 3, "shop_id": 1, "order_id": 28, "amount": 1, "shop": { "id": 1, "name": "ACTEV兰博基尼儿童电动车四轮超电动汽车小孩玩具车", "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" } }, "order": { "id": 28, "price": "1.00", "pay_status": 1, "goods_status": 0 } }, { "id": 4, "shop_id": 1, "order_id": 28, "amount": 2, "shop": { "id": 1, "name": "ACTEV兰博基尼儿童电动车四轮超电动汽车小孩玩具车", "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" } }, "order": { "id": 28, "price": "1.00", "pay_status": 1, "goods_status": 0 } }, { "id": 5, "shop_id": 1, "order_id": 29, "amount": 1, "shop": { "id": 1, "name": "ACTEV兰博基尼儿童电动车四轮超电动汽车小孩玩具车", "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" } }, "order": { "id": 29, "price": "1.00", "pay_status": 1, "goods_status": 2 } }, { "id": 6, "shop_id": 1, "order_id": 29, "amount": 2, "shop": { "id": 1, "name": "ACTEV兰博基尼儿童电动车四轮超电动汽车小孩玩具车", "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" } }, "order": { "id": 29, "price": "1.00", "pay_status": 1, "goods_status": 2 } } ] } ~~~ ### 返回字段说明 | 字段 | 说明 | | --- | --- | | shop_id | 商品id | | order_id |订单id | | amount | 购买数量 | | shop |商品信息 | | shop-name|商品名字 | | shop-picture | 商品配图 | | order | 订单信息 | | order-price |订单金额 | | order-pay_status | 支付状态(0=待支付1=已支付2=已退款) | | order-goods_status | 订单状态(0=待收货1=已完成2=已取消3=发货中4=待支付) |