## 退款操作
数据格式为json
~~~[api]
post:/catering/ft/returnHandle
<<<
success
{ "status": "1", "codemsg": "消费成功" }
<<<
error
{ "status": "08", "codemsg": "数据库修改失败" }
~~~
---
**传参数据说明**
{"data":"3des加密串"}
*****
注意:
**key:** md5(key.$panterid.$storeid.$goodsname.$typename.$price)
*****
**3des加密串:**
对json串{"panterid":$panterid,"storeid":$storeid,"goodsname":$goodsname,"typename":$typename,"price":$price,"key":$key}进行3des加密
*****
**详细传参数据说明**
| 参数 | 参数类型 | 必须 | 说明|
| ----------- | ------------------------------ | ------------ | --- |
| cardno| string| yes |卡号|
| panterid| string| yes |商户id|
| storeid| string| yes |店铺id|
| amount| string| yes |总价格|
| termno| string| yes |终端号|
| num| string| yes |菜品总数量|
| data| string| yes |订单详情 示例:[{"type":"1","goodsid":"00000665","num":"3","goodsname":"测试","price":"1"},{"type":"2","goodsid":"00000596","num":"1","goodsname":"中厨房明档","price":"2"}]|
| order_sn| string| yes |订单号|
| tradetype| string| yes |交易类型|
| key| string| yes |md5(key.$panterid.$storeid.$goodsname.$typename.$price)
|