## 退款操作
數據格式為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)
|