保险计划书

保险计划书


创建--个性化菜单--直接调微信接口

[TOC]

创建--个性化菜单
  • 创建--个性化菜单
请求URL
  • 线上地址: https://api.weixin.qq.com/cgi-bin/menu/addconditional?access_token=52_jacnigGBfEg16bEImnHnuqFUWviDFhprPtfeZXAdGXINvZstPjoEmt1OJhDHb429FVKGfaMPKL-GyJSYLwtJUXkzF_3FlWKXZGRigeRBTs8HXDUaJfD1NSdva44R9IRQShLdRdIw6NVs5iDcJCMeADAPIS
请求方式
  • POST
参数
参数名 必选 类型 说明
access_token string 请求微信服务返回的 token,拼接在url后边
入参示例
  • POST 请求里边写定制菜单,
  • "tag_id": "105",写的是标签的ID
{
    "button": [
            {
                "name": "捷力保4.0",
                "sub_button": [
                    {
                        "type": "view",
                        "name": "一步升级",
                        "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc93fa346c2b8114d&redirect_uri=https%3A%2F%2Fjyb-b-jlb4.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-jlb4.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-jlb4.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-jlb4.yibaojiankang.com%2F%23%2Fquestion%2Flist&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect",
                        "sub_button": []
                    },
                    {
                        "type": "view",
                        "name": "病程管理",
                        "url": "https://mp.weixin.qq.com/s/qw_Yq5jsdSj2dfO19XLAVw",
                        "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-jlb4.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-jlb4.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%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%2Fjyb-b-jlb3.yibaojiankang.com%2F%23%2Fclaims%2Flist&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect",
                        "sub_button": []
                    }
                ]
            }
        ],
    "matchrule": {
        "tag_id": "105"
    }
}
返回示例 --返回公众号菜单栏
菜单编码
返回参数说明
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML