多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
~~~[api] POST:/api/v1/order/get?framework=api *string:finished=not nulll # 0 未完成 1已完成 *string:page=not nulll # 页码 *string:limit=10 # 每页的数量 *string:programme=0 # 栏目 <<< 未完成 { "code": "201", "msg": "ok", "data": [ "list":[ { "id": "2", "title": "A2", //桌台名称 "perperson": "0", //桌台费用 "maxnum": "20", //最大容人 "status": "2", //点餐状态 "ispay": "0", //支付状态 "createtime": "06-11 14:08:28", //创建时间 "endtime": "06-11 14:08:46", //支付时间 "orderid": "3048", //订单ID "pauseorder": "0", //厨打状态 "outorderid": "0", //如果不为0 时候 代表是合桌 "realtotalmoney": "50.00", //金额 "wserialnum":"xxx" /流水号 } ], total:13 //总条数 ] } <<< 已完成 { "code": "201", "msg": "ok", "data": { "list": [ { "id": "3047", //订单ID "serialnum": "Aa611324851669156", //订单编号 "userid": "22", //用户ID "order_fee": "25.00", //订单金额 "notdiscount_fee": "0", //不打折金额 "total_fee": "25.00", //总金额 "paid_fee": "25.00", //付款金额 "change_fee": "0", "discount": "100", //优惠率 "discount_fee": "0", //优惠金额 "coupon_fee": "0", "discounttype": "0", "couponid": null, "cash_fee": "0", "person": "3", //总人数 "paytype": "2", //支付类型 "openid": null, "createtime": "1560232485", "createdate": "2019-06-11", "status": "2", //完成状态 1 进行中 2已完成 3退款 4反结账 5已作废 "ispay": "1", //支付状态 "del": "0", "realtotalmoney": "25.00", //真实订单金额 "cardno": "0", //支付卡号 "is_clear": "0", //是否清理脏台 "paydate": "2019-06-11 13:55:12", "mastorderid":"xxx",// 不为0时 是组合桌台订单 "ismaster":"xxx",//为1 为主 "tables": [ { "id": "5", //桌台ID "title": "A5", //桌台号 "description": "", "pcate": "2", "displayorder": "5", "teafee": "0", "perperson": "0", "maxnum": "8", "lessfee": "0", "status": "2", "ispay": "1", "createtime": "06-11 11:47:26", "newctrl": "0", "endtime": "06-11 11:47:36", "recommend": "0", "ismore": "0", "qrlink": "", "orderid": "3045", "pauseorder": "0", "outorderid": "3047" }, { "id": "3", "title": "A3", "description": "", "pcate": "2", "displayorder": "3", "teafee": "0", "perperson": "0", "maxnum": "10", "lessfee": "0", "status": "2", "ispay": "1", "createtime": "06-11 13:54:14", "newctrl": "0", "endtime": null, "recommend": "0", "ismore": "0", "qrlink": "", "orderid": "3046", "pauseorder": "0", "outorderid": "3047" } ] } ], "total": 3 } } <<< error ~~~