ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
~~~[api] post:www.tp.cn/api/v1/order/goodsinfo *int:orderid=not null#不能为空 订单ID <<< 请求示例 post:www.tp.cn/api/v1/order/goodsinfo 请求参数: { "orderid":"59" //开桌时候返回得桌台订单ID } <<< success { "code": 201, "msg": "ok", "data": [ { "id": 200, //订单ID "serialnum": "A122000298725236",//订单编号 "order_fee": "2.30", //订单价格 "notdiscount_fee": 0, //不打折金额 "total_fee": "12.30", //总金额 "paid_fee": 12.30, //实付金额 "discount_fee": 0, //优惠金额 "person": 1, 人数 "num": 4, //订单总商品数 "teafee": "10.00", //茶味费 "discount":xxx, //优惠率 "realtotalmoney": "12.30", //订单实际总金额 "roundtype": 0, //是否有抹零 1抹零 2未抹零, "roundmoney":xxx, //抹零金额 "changemoney":改价金额,//改价金额 "teatype":1 //是否免了茶味费 "ordergoodsremark":"xxx",//备注 "status":1 //0开桌 1下单 "ispay":0 //未支付 1已支付 "remark":"xxx", //备注 "ismaster":"xxx", //是否是组合支付 "children":[ { paytype: "xxx", //付款类型 paid_fee:"xx" //付款金额 } ], "order_goods": [ { "id":"xxx", //下厨商品唯一标识 "orderid": 59, //订单ID "title": "店铺2-商品1", //商品名称 "goodid":"4",//商品ID "total_fee": "5", //总价格 "price":5 , //价格 "num":1 ,//数量 "createtime": 1546769656, //下单时间 "status": 1, //1 已下单 //2 已完成 "ispay": 0, //1 付款 //0 未付款 "taste": "阿斯顿", //口味 "ispack": 0, //是否打包 1打包 0 食堂 "pauseorder": "2" //1 厨等 2厨打 } ], "tables": { "id": 7, //桌台ID "title": "A3", //桌台名称 "orderid": 59 //订单名称, "createtime":xxx }, "credit": { "title": "郑州建业至尊商务服务有限公司", "name": "穆玉山", "phone": "15890620404" } } ] } <<< error ~~~