企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 前言 ## 基本菜单结构 以下菜单为微信公众号菜单的基本配置信息,其中type:view为代表连接的页面,name为按钮的名称,控制在6个字,url为页面的连接,sub_button为子按钮,为数组格式。 ``` { "button": [{ "name": "医院介绍", "sub_button": [{ "type": "view", "name": "医院简介", "url": "http://hd.jdapi.cn/Hospital/Introduction?hospitalID=2", "sub_button": [] }, { "type": "view", "name": "各科室介绍", "url": "http://hd.jdapi.cn/Hospital/DepartmentList?hospitalID=2", "sub_button": [] } ] }, { "name": "更多", "sub_button": [{ "type": "view", "name": "实时新闻", "url": "http://hd.jdapi.cn/Hospital/NewsList?hospitalID=2", "sub_button": [] }, { "type": "view", "name": "帮助", "url": "http://hd.jdapi.cn/Hospital/Help?hospitalID=2", "sub_button": [] } ] } ] } ```