多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 通卡退菜 ~~~[api] post:/api/v1/pos/tongReturnGoods?framework=api *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", "id":"退菜列表ID", "goodsid": "12", "goodspanterid": "00008878", "num": "1", "price": "12", "discount": "0", "goodsname": "牛肉", "order_sn":"201910231126596323" }]` | 参数 | 参数类型 | 必须 | 说明| | ----------- | ------------------------------ | ------------ | --- | | goodsname| string| yes |菜品名| | id| string| yes |退菜列表ID| | 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 | 订单编号|