疾病禁忌食物
最后更新于:2022-04-02 08:25:01
## 疾病禁忌食物(维护中)
>[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/ee/a6/eea6aeb7c307326f6c1d6e45cc7bbf12_200x200.png)
> 查询某个疾病的食物禁忌
## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086))
### 请求地址
```
GET https://api.topthink.com/gstore/taboo_food
```
### 请求参数
| 名称 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| appCode| string|是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) |
| disease| string | 是 | 疾病名称 |
### 返回`data`参数
参考返回示例
## SDK调用
```
$client = new Client("YourAppCode");
$result = $client->gstoreTabooFood()
->withDisease('糖尿病')
->request();
```
返回示例:
~~~
{
"code":0,
"message": "成功",
"data": [
"奶酪",
"肥甘厚味食物",
"虾米"
]
}
~~~
';