💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~[api] post:www.tp.cn/api/v1/ordergoods/changkitchen *int:orderid=not null#订台ID *int:status=not null# 1为厨等 2为厨打 *int:ischange=0 # 1为改变订单状态 0默认为不改变 *string:en=not nulll #POSEN号不能为空 *int:canteen=0#该EN号是否是大POS 0为不是 1是 *array:goodids=not null #商品ID <<< 请求示例 post:www.tp.cn/api/v1/ordergoods/changstatus 传递得参数: { "orderid":"59", //桌台订单ID "status":"2", 1为厨等 2为厨打 "goodids":[ "4" ] } <<< success { "code": 201, "data": [ { "ip": "192.168.3.112", "port": "9100", "list": { "id": "36", "title": "散台2", "orderid": "2726", "pauseorder": "1", "list": [ { "id": "4021", "orderid": "2726", "out_trade_no": "Aa315314152780521932726", "goodid": "936", "goodsn": "Aa315314152780521932726", "numtype": "0", "title": "测试菜品1", "price": "10.00", "num": "1", "total_fee": "10.00", "createtime": "1552631415", "status": "1", "ispay": "0", "taste": "", "ispack": "0", "pauseorder": "1", "storeid": "4676" } ], "serialnum": "Aa315198439127599" } } ], "msg": "ok" } <<< error { "msg": "商品必须是一个数组", "error_code": 10000, "request_url": "/api/v1/ordergoods/changstatus?XDEBUG_SESSION_START=11715" } //其他详看error_code ~~~