{
“button”: [
{
“name”: “A”,
“sub_button”: [
{
“name”: “A101”,
“sub_button”: [ ],
“type”: “click”,
“key”: “101”
},
{
“name”: “A102”,
“sub_button”: [ ],
“type”: “click”,
“key”: “102”
}
],
“type”: “”
},
{
“name”: “B”,
“sub_button”: [
{
“name”: “B101”,
“sub_button”: [ ],
“type”: “click”,
“key”: “201”
},
{
“name”: “B102”,
“sub_button”: [ ],
“type”: “click”,
“key”: “202”
}
],
“type”: “”
},
{
“name”: “C”,
“sub_button”: [
{
“name”: “C1”,
“sub_button”: [ ],
“type”: “view”,
“url”: “http://xxx.xxx.xxx”
},
{
“name”: “C2”,
“sub_button”: [ ],
“type”: “view”,
“url”: “https://xxx.xxx.xxx”
},
{
“name”: “C3”,
“sub_button”: [ ],
“type”: “view”,
“url”: “http://xxx.xxx.xxx”
},
{
“name”: “C4”,
“sub_button”: [ ],
“type”: “view”,
“url”: “http://xxx.xxx.xxx/”
}
],
“type”: “”
}
]
}
运行代码,返回结果如上(其中url地址在代码中可以实际访问),结果就报错{“errcode”:40016,“errmsg”:“invalid button size hint: [mYuFNa06481892]”},查了官方文档,40016:不合法的按钮个数,但是我吧上班的json数据复制到微信公众平台接口调试工具,直接在线创建菜单,就能正常创建,如下图,求解?