我也没注意换个文档,我设置url默认值为空了
微信菜单API,invalid button url sizehttps://developers.weixin.qq.com/doc/oplatform/Return_codes/Return_code_descriptions.html 当我设置菜单时候 { "button":[ { "name":"精选好课", "sub_button":[ { "name":"🔥儿童科学启蒙大礼包", "type":"view", "url":"https://readooapi.youshu.cc/p/tradepage_h5/page_goods?goods_item_id=1313" }, { "name":"趣味学唐诗:开讲啦!", "type":"view", "url":"https://readooapi.youshu.cc/p/tradepage_h5/page_goods?goods_item_id=740" } ] }, { "name":"学习园地", "sub_button":[ { "name":"个人中心 ", "type":"view", "url":"https://readooapi.youshu.cc/p/classroom_h5/classroom_my?utm_source=wx_yssnxy&utm_campaign=menu" }, { "name":"我的课程", "type":"view", "url":"http://readooapi.youshu.cc/FwhWeChat/entry?msg=WeChatAuth&callback=https%3A%2F%2Fm.youshu.cc%2Fteenager_book%2F%23%2Findex%2Fbookshelf%2FlistenPage" }, { "name":"少年书单学习", "type":"view", "url":"https://w.url.cn/s/AMoFrh0" }, { "name":"我的课程", "type":"view", "url":"http://readooapi.youshu.cc/FwhWeChat/entry?msg=WeChatAuth&callback=https%3A%2F%2Fm.youshu.cc%2Fteenager_book%2F%23%2Findex%2Fbookshelf%2FlistenPage" }, { "name":"教育书单", "type":"view", "url":"https://readooapi.youshu.cc/FwhWeChat/entry?msg=WeChatAuth&callback=https%3a%2f%2fm.youshu.cc%2flisten_book%2f%23%2fthemeDetailBig%3fid%3d159" } ] } ] } 这种能保存成功, 最后面再加一个小程序,如下,就失败了,告诉我invalid button url size,请问是什么原因?? { "button":[ { "name":"精选好课", "sub_button":[ { "name":"🔥儿童科学启蒙大礼包", "type":"view", "url":"https://readooapi.youshu.cc/p/tradepage_h5/page_goods?goods_item_id=1313" }, { "name":"趣味学唐诗:开讲啦!", "type":"view", "url":"https://readooapi.youshu.cc/p/tradepage_h5/page_goods?goods_item_id=740" } ] }, { "name":"学习园地", "sub_button":[ { "name":"个人中心 ", "type":"view", "url":"https://readooapi.youshu.cc/p/classroom_h5/classroom_my?utm_source=wx_yssnxy&utm_campaign=menu" }, { "name":"我的课程", "type":"view", "url":"http://readooapi.youshu.cc/FwhWeChat/entry?msg=WeChatAuth&callback=https%3A%2F%2Fm.youshu.cc%2Fteenager_book%2F%23%2Findex%2Fbookshelf%2FlistenPage" }, { "name":"少年书单学习", "type":"view", "url":"https://w.url.cn/s/AMoFrh0" }, { "name":"我的课程", "type":"view", "url":"http://readooapi.youshu.cc/FwhWeChat/entry?msg=WeChatAuth&callback=https%3A%2F%2Fm.youshu.cc%2Fteenager_book%2F%23%2Findex%2Fbookshelf%2FlistenPage" }, { "name":"教育书单", "type":"view", "url":"https://readooapi.youshu.cc/FwhWeChat/entry?msg=WeChatAuth&callback=https%3a%2f%2fm.youshu.cc%2flisten_book%2f%23%2fthemeDetailBig%3fid%3d159" } ] }, { "name":"免费朗诵", "type":"miniprogram", "appid":"wx3134ce0933aac8e0", "pagepath":"pages/user/home/home?courseId=808009&start_at=2020-09-03&end_time=2021-09-07" } ] }
2021-09-22