## 獲取菜單列表
**簡要描述:**
* 獲取菜單列表
**請求URL:**
* /wechat/menu/findPage
**請求方式:**
* POST
**返回參數**
| | 參數名 | 必選 | 類型 | 說明 |
| --- | --- | --- | --- | ---| ---|
| | id| 是 | int | id |
| | name| 是 | string| 名稱 |
| | content| 是| string|array| 內容 |
| | parent_id| 是| int| 父id |
| | type| 是| string| 類別 'miniprogram','click','view' |
| | sort| 是| int| 排序 |
| | add_time| 是| string| 創建時間 |
| | sub_button| 是 | array | 子菜單 |
## | id| 是 | int | id |
## | name| 是 | string| 名稱 |
## | content| 是| string|array| 內容 |
## | parent_id| 是| int| 父id |
## | type| 是| string| 類別 'miniprogram','click','view' |
## | sort| 是| int| 排序 |
## | add_time| 是| string| 創建時間 |
**返回示例**
~~~
{
{
"msg": "success",
"data": [{
"id": 1,
"name": "一級菜單1",
"content": "",
"parent_id": 0,
"type": "",
"sort": 1,
"add_time": "2020-08-29 13:28:37",
"sub_button": [{
"id": 2,
"name": "子菜單",
"content": "你好",
"parent_id": 1,
"type": "click",
"sort": 1,
"add_time": "2020-08-29 13:28:37",
},
{
"id": 3,
"name": "子菜單2",
"content": "http://www.baidu.com",
"parent_id": 1,
"type": "view",
"sort": 2,
"add_time": "2020-08-29 13:28:37",
},
{
"id": 4,
"name": "子菜單3",
"content": {
"url": "http://mp.weixin.qq.com",
"appid": "wx286b93c14bbf93aa",
"pagepath": "pages/lunar/index"
},
"parent_id": 1,
"type": "miniprogram",
"sort": 3,
"add_time": "2020-08-29 13:28:37",
}
]
},
{
"id": 4,
"name": 一級菜單2,
}
]
"code": 200
}
~~~