自定义菜单 JSON 校验

测试中公众号 · 服务号/cgi-bin/menu/create · sub_button

按官方限制逐个按钮检查 menu/create 请求体:一级 3 个、二级 5 个、名字字节数、type 与 key / url / appid / media_id 配套,错误对应 400xx 码。

贴 menu/create 的请求体,按官方限制逐个按钮检查:个数、名字字节数、type 与必填字段配套、url / pagepath 格式。错误旁边标了对应的 400xx 错误码。