## 退款菜品列表
數據格式為json
~~~[api]
post:/catering/ft/returnHandle
<<<
success
{
"status": "1",
"codemsg": "查詢成功",
"data": [
{
"num": "6",
"payamount": "3",
"goodsname": "測試",
"price": 1,
"goodsid": "00000665",
"type": "1",
"discount": "0.5元",
"discounttype": "2",
"numrow": "1"
},
{
"num": "2",
"payamount": "3.6",
"goodsname": "中廚房明檔",
"price": 2,
"goodsid": "00000596",
"type": "2",
"discount": "9折",
"discounttype": "1",
"numrow": "1"
}
]
}
<<<
error
{
"status": "03",
"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|
| key| string| yes |md5(key.$panterid.$storeid.$goodsname.$typename.$price)
|