🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 通卡退菜 ~~~[api] post:/un/Wq/returnOrder *cardno=默认值#通卡卡号 *panterid#消费地点商户号 *storeid#档口号 *termno#pos设备号 *amount=#订单总金额 *order_sn#订单编号 *data#菜品信息 *key=md5($keySign.$post['cardno'].$post['order_sn'].$post['amount'])#密钥 <<< success { "status": 1, "codemsg": "退菜成功", "order_sn": "201908270948174803", "beforebalance": "1026", "nowbalance": "1038.00" } <<< error ~~~ --- **data包参数说明** `[{ "type": "2", "goodsid": "12", "goodspanterid": "00008878", "num": "1", "price": "12", "discount": "0", "goodsname": "牛肉", "order_sn":"201910231126596323" }]` | 参数 | 参数类型 | 必须 | 说明| | ----------- | ------------------------------ | ------------ | --- | | goodsname| string| yes |菜品名| | num| string| yes |数量| | goodsid| string| yes |商品id| | type| string| yes |1按份2散装| |goodspanterid|string|yes|商户id| |price|string|yes|商品单价| |order_sn|string|yes|商品订单编号| **返回信息** | 参数 | 参数类型 | 必须 | 说明| | ----------- | ------------------------------ | ------------ | --- | | beforebalance| string| yes |消费前金额| | nowbalance| String| yes | 现在金额| | order_sn| String| yes | 订单编号|