{
    "openapi": "3.0.0",
    "info": {
        "title": "周公解梦 - API文档",
        "version": "1.0.0",
        "description": "大多数情况下，梦反应了生活中的一些潜意识。部分内容中有多个结果时，保留了br换行符可自行替换。"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/dream\/index": {
            "get": {
                "summary": "周公解梦查询",
                "tags": [
                    "周公解梦"
                ],
                "description": "",
                "parameters": [
                    {
                        "name": "key",
                        "in": "query",
                        "description": "API密钥",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "description": "API密钥"
                        }
                    },
                    {
                        "name": "num",
                        "in": "query",
                        "description": "返回数量",
                        "required": true,
                        "schema": {
                            "type": "int",
                            "example": 10,
                            "description": "返回数量"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "翻页",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 1,
                            "description": "翻页"
                        }
                    },
                    {
                        "name": "word",
                        "in": "query",
                        "description": "搜索词",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "黄瓜",
                            "description": "搜索词"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "int",
                                            "example": 15918,
                                            "description": "数据ID"
                                        },
                                        "type": {
                                            "type": "string",
                                            "example": "综合类",
                                            "description": "类型"
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "扒火车",
                                            "description": "标题"
                                        },
                                        "result": {
                                            "type": "string",
                                            "example": "梦见扒火车：在人际关系上有转机。与反目成仇的亲友，可能因为一些小事又言归于好......",
                                            "description": "内容"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "id": 15918,
                                                "type": "综合类",
                                                "title": "扒火车",
                                                "result": "梦见扒火车：在人际关系上有转机。与反目成仇的亲友，可能因为一些小事又言归于好。应该热情地去接纳他。离异丧偶者梦见扒火车代表出远门，不好，最好敢消。老人梦见扒火车说明这段时间您的运气：逐渐转好，应把握好时机。生意人梦见扒火车主钱财方面：不佳。"
                                            },
                                            {
                                                "id": 15728,
                                                "type": "综合类",
                                                "title": "后退步行、坐火车后退、坐汽车后退",
                                                "result": "很多人在梦中都会有梦见自己明明在往前走却会后退或者无法前进的景象。在梦中有不由己的后退和主动后退的区别。后退总体上是代表着对于过去的一些事情的感情。梦见自己在向后退步行，表示自己现在在做的事情会渐渐偏离自己的梦想。梦见自己坐火车或者汽车后退，表示自己的生活将会进入一种新的环境，自己会有一点难以适应，因此会出现生活不愉快。梦见自己明明想向前走，但是却在后退，表示自己会因为过去的一些事情而背上了过重的思想包袱，如果不能放下，只能是生活在痛苦中。"
                                            },
                                            {
                                                "id": 15574,
                                                "type": "综合类",
                                                "title": "赶不上火车",
                                                "result": "现在的交通是越来越发达了，出门有飞机，有轻轨，有火车，有动车，有汽车，有轮船等等。因为某件事情的耽搁，赶不上飞机，赶不上火车，赶不上汽车……的事情时有发生。梦中的赶不上火车，对自己做事情没信心的表现。梦见赶不上火车，表示对是否能够把握现有时机，没有足够的信心。"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "周公解梦查询",
                "tags": [
                    "周公解梦"
                ],
                "description": "",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    },
                                    "num": {
                                        "type": "int",
                                        "example": 10,
                                        "description": "返回数量"
                                    },
                                    "page": {
                                        "type": "int",
                                        "example": 1,
                                        "description": "翻页"
                                    },
                                    "word": {
                                        "type": "string",
                                        "example": "黄瓜",
                                        "description": "搜索词"
                                    }
                                },
                                "required": [
                                    "key",
                                    "num",
                                    "word"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "int",
                                            "example": 15918,
                                            "description": "数据ID"
                                        },
                                        "type": {
                                            "type": "string",
                                            "example": "综合类",
                                            "description": "类型"
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "扒火车",
                                            "description": "标题"
                                        },
                                        "result": {
                                            "type": "string",
                                            "example": "梦见扒火车：在人际关系上有转机。与反目成仇的亲友，可能因为一些小事又言归于好......",
                                            "description": "内容"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "id": 15918,
                                                "type": "综合类",
                                                "title": "扒火车",
                                                "result": "梦见扒火车：在人际关系上有转机。与反目成仇的亲友，可能因为一些小事又言归于好。应该热情地去接纳他。离异丧偶者梦见扒火车代表出远门，不好，最好敢消。老人梦见扒火车说明这段时间您的运气：逐渐转好，应把握好时机。生意人梦见扒火车主钱财方面：不佳。"
                                            },
                                            {
                                                "id": 15728,
                                                "type": "综合类",
                                                "title": "后退步行、坐火车后退、坐汽车后退",
                                                "result": "很多人在梦中都会有梦见自己明明在往前走却会后退或者无法前进的景象。在梦中有不由己的后退和主动后退的区别。后退总体上是代表着对于过去的一些事情的感情。梦见自己在向后退步行，表示自己现在在做的事情会渐渐偏离自己的梦想。梦见自己坐火车或者汽车后退，表示自己的生活将会进入一种新的环境，自己会有一点难以适应，因此会出现生活不愉快。梦见自己明明想向前走，但是却在后退，表示自己会因为过去的一些事情而背上了过重的思想包袱，如果不能放下，只能是生活在痛苦中。"
                                            },
                                            {
                                                "id": 15574,
                                                "type": "综合类",
                                                "title": "赶不上火车",
                                                "result": "现在的交通是越来越发达了，出门有飞机，有轻轨，有火车，有动车，有汽车，有轮船等等。因为某件事情的耽搁，赶不上飞机，赶不上火车，赶不上汽车……的事情时有发生。梦中的赶不上火车，对自己做事情没信心的表现。梦见赶不上火车，表示对是否能够把握现有时机，没有足够的信心。"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}