{
    "openapi": "3.0.0",
    "info": {
        "title": "健康小妙招 - API文档",
        "version": "1.0.0",
        "description": "便捷的健康小妙招查询服务，支持模糊查询功能。无论您关心的是饮食、运动、睡眠还是减压方法，只需请求接口，即可获取一系列实用健康建议。"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/healthskill\/index": {
            "get": {
                "summary": "健康小妙招",
                "tags": [
                    "健康小妙招"
                ],
                "description": "随机返回一个健康小妙招，健康生活每一天",
                "parameters": [
                    {
                        "name": "key",
                        "in": "query",
                        "description": "API密钥",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "description": "API密钥"
                        }
                    },
                    {
                        "name": "word",
                        "in": "query",
                        "description": "健康症状",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "失眠",
                            "description": "健康症状"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "title": {
                                            "type": "string",
                                            "example": "失眠",
                                            "description": "标题"
                                        },
                                        "content": {
                                            "type": "string",
                                            "example": "每天取晒干的花生叶200克...",
                                            "description": "内容"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "title": "失眠",
                                                "content": "每天取晒干的花生叶200克，加水烧开后再熬20分钟，代茶饮，连服一周。如用鲜花生叶则用量加倍。"
                                            },
                                            {
                                                "title": "失眠",
                                                "content": "双侧耳尖放血，可以帮助解决失眠。用小三棱针或其他细针，消毒后在耳朵最高点刺破，少量放血即可。"
                                            },
                                            {
                                                "title": "失眠",
                                                "content": "按揉安眠穴有助眠作用。安眠穴位于脑后，翳风穴（耳垂后的凹陷）与风池穴（枕骨下的凹陷）连线的中点处。"
                                            },
                                            {
                                                "title": "失眠",
                                                "content": "按压合谷穴可帮助入睡。合谷穴位于手背虎口处，拇指与食指并拢，指缝端部即是，掐的时候向掌心一侧用力，有明显痛感。（孕妇忌按）"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "健康小妙招",
                "tags": [
                    "健康小妙招"
                ],
                "description": "随机返回一个健康小妙招，健康生活每一天",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    },
                                    "word": {
                                        "type": "string",
                                        "example": "失眠",
                                        "description": "健康症状"
                                    }
                                },
                                "required": [
                                    "key",
                                    "word"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "title": {
                                            "type": "string",
                                            "example": "失眠",
                                            "description": "标题"
                                        },
                                        "content": {
                                            "type": "string",
                                            "example": "每天取晒干的花生叶200克...",
                                            "description": "内容"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "title": "失眠",
                                                "content": "每天取晒干的花生叶200克，加水烧开后再熬20分钟，代茶饮，连服一周。如用鲜花生叶则用量加倍。"
                                            },
                                            {
                                                "title": "失眠",
                                                "content": "双侧耳尖放血，可以帮助解决失眠。用小三棱针或其他细针，消毒后在耳朵最高点刺破，少量放血即可。"
                                            },
                                            {
                                                "title": "失眠",
                                                "content": "按揉安眠穴有助眠作用。安眠穴位于脑后，翳风穴（耳垂后的凹陷）与风池穴（枕骨下的凹陷）连线的中点处。"
                                            },
                                            {
                                                "title": "失眠",
                                                "content": "按压合谷穴可帮助入睡。合谷穴位于手背虎口处，拇指与食指并拢，指缝端部即是，掐的时候向掌心一侧用力，有明显痛感。（孕妇忌按）"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}