多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 订单列表 * RSA加密接口 ~~~[api] post:http://global.aumalls.com/apiorder/order_list *user_id#填写用户ID *token#用户登录标识 service#售后订单此值=1 status#订单状态 page#页码 limit#限制获取条数 <<< success { "code": 20000, "msg": "success", "data":"I9eu8SjXs1SNTXnjAq9S2pYEbHvGzjdkKjb3CTiaJWbzBX84K1sbDUnZjmgyltMqpSH+lnetIQznsbdubb72ITd3VIzpN" } <<< error { "code": 40000, "msg": "缺少参数,用户ID", } ~~~ #### 说明: 1. 提交数据:和注册登录一致,返回加密数据; 2. 返回数据:list :数据列表 end:是否是最后一页,是true or 否false "data":{"list":[{"id":"2","real_amount":"120.00","create_time":"2017-07-07 11:04:00","order_no":"","order_status":"待评价","goods_all_nums":"1","goods_list":[{"id":"2","img":"upload/2017/06/26/20170626160028716.jpg","goods_nums":"1","real_price":"120.00","name":"测试商品1"}]},{"id":"8","real_amount":"270.00","create_time":"2017-07-26 14:21:27","order_no":"","order_status":"待评价","goods_all_nums":2,"goods_list":[{"id":"7","img":"","goods_nums":"1","real_price":"180.00","name":"Swisse one"},{"id":"8","img":"upload/2017/06/26/20170626154506882.jpg","goods_nums":"1","real_price":"90.00","name":"shop-goods1"}]}],"end":true} is_card:是否需要上传身份证1是,0否 freight_id:已发货状态返回的发货单id 3. 订单状态(除去待评价)status: 1:待付款 2:待发货 3:待收货 4:交易关闭 5:交易成功 6:已退款 7:部分退款 8:待评价 4. 参数service(不必在传递status),售后(与其他返回数据不同) 售后包括:申请退款,已退款订单 {"list":[{"id":"10","order_no":"20170707110400397016","order_id":"3","user_id":"34","amount":"270.00","time":"2017-08-03 17:40:05","admin_id":"1","pay_status":"2","content":"dffffffffffffffffffffff","dispose_time":"2017-08-03 17:40:29","dispose_idea":"ghgfhgfhgfh","if_del":"0","order_goods_id":"5,6,8","seller_id":"0","order_status":"已退款","goods_all_nums":3,"goods_list":[{"id":"5","img":"upload/2017/06/26/20170626160028716.jpg","goods_nums":"1","real_price":"120.00","is_send":"已退货","name":"测试商品1"},{"id":"6","img":"upload/2017/06/26/20170626171317228.jpg","goods_nums":"1","real_price":"40.00","is_send":"已退货","name":"测试商品4"},{"id":"8","img":"upload/2017/06/26/20170626154506882.jpg","goods_nums":"1","real_price":"90.00","is_send":"已退货","name":"shop-goods1"}]}],"end":true} time:申请时间 amount:退款金额 order_status:状态 goods_list下is_send字段标注该订单下商品是否退货(可能部分退货退款) 5. 参数limit 要获取多少条订单,传递此参数page分页则无效 6. 获取数据中订单状态显示:order_status