多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 菜品列表 数据格式为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| 菜品类型 |