保险计划书

保险计划书


创建-基础菜单

[TOC]

创建-基础菜单

-创建-基础菜单

请求URL
  • 线上地址: https://ds.yibaojiankang.com/api/wx/tool/menu
  • 测试地址: https://dev.yibaojiankang.com/api/wx/tool/menu
请求方式
  • POST
参数
参数名 必选 类型 说明
app_id string 公众号 app_id
menu string 公众号 菜单
入参示例
{
    "app_id": "",
    "menu": {
        "button": [
            {
                "name": "捷力保3.0",
                "sub_button": [
                    {
                        "type": "view",
                        "name": "免费入组",
                        "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc93fa346c2b8114d&redirect_uri=https%3A%2F%2Fjyb-b-jlb3.yibaojiankang.com%2F%23%2Fproduct&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect",
                        "sub_button": []
                    },
                    {
                        "type": "view",
                        "name": "项目介绍",
                        "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc93fa346c2b8114d&redirect_uri=https%3A%2F%2Fjyb-b-jlb3.yibaojiankang.com%2F%23%2Fproduct%2Fintro&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect",
                        "sub_button": []
                    },
                    {
                        "type": "view",
                        "name": "入组/报销指南",
                        "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc93fa346c2b8114d&redirect_uri=https%3A%2F%2Fjyb-b-jlb3.yibaojiankang.com%2F%23%2Fproduct%2Fguide&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect",
                        "sub_button": []
                    },
                    {
                        "type": "view",
                        "name": "常见问题",
                        "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc93fa346c2b8114d&redirect_uri=https%3A%2F%2Fjyb-b-jlb3.yibaojiankang.com%2F%23%2Fquestion%2Flist&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect",
                        "sub_button": []
                    }
                ]
            },
            {
                "name": "视频攻略",
                "sub_button": [
                    {
                        "type": "view",
                        "name": "入组演示视频",
                        "url": "https://jyb-uposs.oss-cn-beijing.aliyuncs.com/wx-public-config/wxc93fa346c2b8114d/video/ruzu.mp4",
                        "sub_button": []
                    },
                    {
                        "type": "view",
                        "name": "报销演示视频",
                        "url": "https://jyb-uposs.oss-cn-beijing.aliyuncs.com/wx-public-config/wxc93fa346c2b8114d/video/claim.mp4",
                        "sub_button": []
                    }
                ]
            },
            {
                "name": "会员中心",
                "sub_button": [
                    {
                        "type": "view",
                        "name": "三期申请报销",
                        "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc93fa346c2b8114d&redirect_uri=https%3A%2F%2Fjyb-b-jlb3.yibaojiankang.com%2F%23%2Fnew-claims%2Fcreate&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect",
                        "sub_button": []
                    },
                    {
                        "type": "view",
                        "name": "三期报销记录",
                        "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc93fa346c2b8114d&redirect_uri=https%3A%2F%2Fjyb-b-jlb3.yibaojiankang.com%2F%23%2Fnew-claims%2Flist&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect",
                        "sub_button": []
                    },
                    {
                        "type": "view",
                        "name": "病程管理",
                        "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc93fa346c2b8114d&redirect_uri=https%3A%2F%2Fmp.weixin.qq.com%2Fs%2Fqw_Yq5jsdSj2dfO19XLAVw&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect",
                        "sub_button": []
                    }
                ]
            }
        ]
    }
}
返回示例 --返回公众号菜单栏
返回一个菜单编码
返回参数说明
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML