## 菜品列表
数据格式为json
~~~[api]
post:/catering/ft/goods
<<<
success
{
"status": "1",
"codemsg": "获取数据成功",
"data": [
{
"goodsid": "00000665",
"type": "1",
"goodsname": "测试",
"status": "1",
"price": "1",
"discounttype": "2",
"discountproportion": "9.5",
"discountmemberprice": ".5",
"numrow": "1"
},
{
"goodsid": "00002326",
"type": "1",
"goodsname": "whk测试商品33",
"status": "1",
"price": "66",
"discounttype": "1",
"discountproportion": "9.5",
"discountmemberprice": null,
"numrow": "2"
}
]
}
<<<
error
{
"status": "03",
"codemsg": "校验信息错误秘钥错误"
}
~~~
---
**传参数据说明**
{"data":"3des加密串"}
*****
注意:
**key:** md5('key'.$panterid.$storeid.$status.$flag)
其中:key 是双方约定字符串
**3des加密串:** 对json串{"panterid":$panterid,"storeid":$storeid,"status":$status,"flag":$flag,"key":$key} 进行3des加密
*****
**详细传参数据说明**
| 参数 | 参数类型 | 必须 | 说明|
| ----------- | ------------------------------ | ------------ | --- |
| panterid| string| yes |商户id|
| storeid| string| yes |店铺id|
| status| string| no|菜品状态|
| flag| string| no| 菜品类型
|