ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**1.接口地址**:http://api.zishahui.vip/product-order/order-list **2.支持格式**:json **3.请求方式**:post **4.请求参数**: | 参数 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | |user_id |是 | int | 用户ID| |code |是 | int | 订单状态| ***5.返回字段说明*** |名称|类型|说明| |---|:---:|--:|--:| |code|int|返回码| |msg|string|返回提示信息| |data|string|返回数据| ***5.data字段说明*** |名称|类型|说明| |---|:---:|--:|--:| |id|int|订单ID| |order_num|int|订单编号| |create_time|int|创建时间| |total_money|int|总金额| |status|int|订单状态:1待付款,2已付款,3已发货,4交易完成,5订单已取消| *******成功示列******* { "code": 1, "msg": "返回成功", "data": [ { "id": "562", "total_money": "6000.00", "order_num": "2018102210148501", "status": "6", "shop_name": "利永紫砂官方旗靓店", "goods": [ { "product_id": "7", "price": "2000.00", "preferential_price": null, "is_preferential": "0", "num": "1", "icon_path": "https://zishacloud.oss-cn-hangzhou.aliyuncs.com/pic/Backend/shops/product/20181017/245c12b511d1fb978a25d8f47fd11090.jpg", "shop_id": "1", "title": "西施壶" }, { "product_id": "8", "price": "3000.00", "preferential_price": null, "is_preferential": "0", "num": "1", "icon_path": "https://zishacloud.oss-cn-hangzhou.aliyuncs.com/pic/Backend/shops/product/20181017/cb04eb255d8ae1eb9c71c67d8d1dbdd6.jpg", "shop_id": "1", "title": "满瓢" }, { "product_id": "9", "price": "1000.00", "preferential_price": null, "is_preferential": "0", "num": "1", "icon_path": "https://zishacloud.oss-cn-hangzhou.aliyuncs.com/pic/Backend/shops/product/20181017/b84799edacc340767e66e4042b5f795a.jpg", "shop_id": "1", "title": "小嘴西施" } ] }, { "id": "560", "total_money": "6000.00", "order_num": "2018102248515248", "status": "6", "shop_name": "利永紫砂官方旗靓店", "goods": [ { "product_id": "19", "price": "6000.00", "preferential_price": "3000.00", "is_preferential": "1", "num": "2", "icon_path": "https://zishacloud.oss-cn-hangzhou.aliyuncs.com/pic/Backend/shops/product/20181018/30a3ae1450dce860b352e28039a76eef.jpg", "shop_id": "1", "title": "测试数据" } ] } ], "has_next": false } *******获取失败******* { "code": "-1", "msg": "缺少参数!", "data": [] } { "code": "-1", "msg": "非法参数!", "data": [] }