We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
获取公众号菜单时,出现错误“菜单类型无法处理(二级菜单):xxx”
Email:sysrun@163.com
(也可将问题地址及联系方式发送到 www.jeffrey.su@gmail.com)
CommonApi中GetButtonGroup方法,在对二级菜单进行处理时,重新跳入if,代码第369行。
else if (subSubButton.type.Equals("VIEW_LIMITED", StringComparison.OrdinalIgnoreCase)) { //永久素材按钮 subButton.sub_button.Add(new SingleViewLimitedButton() { name = subSubButton.name, media_id = subSubButton.media_id, type = subSubButton.type }); } if (subSubButton.type.Equals("SCANCODE_WAITMSG", StringComparison.OrdinalIgnoreCase)) { //扫码推事件且弹出“消息接收中”提示框 subButton.sub_button.Add(new SingleScancodeWaitmsgButton() { name = subSubButton.name, key = subSubButton.key, type = subSubButton.type }); } else if (subSubButton.type.Equals("ARTICLE_ID", StringComparison.OrdinalIgnoreCase)) { //article_id 按钮 subButton.sub_button.Add(new SingleArticleIdButton() { name = subSubButton.name, article_id = subSubButton.article_id, type = subSubButton.type }); }
The text was updated successfully, but these errors were encountered:
MP v16.18.2.1 修复二级菜单按钮判断逻辑 #2638 感谢 @withsalt
0f3d11f
Merge pull request #2641 from JeffreySu/Developer-NewSamples
28035dc
MP v16.18.2.1 #2638 已进入发布管道,感谢! @withsalt
Sorry, something went wrong.
已解决,感谢!
No branches or pull requests
问题描述
获取公众号菜单时,出现错误“菜单类型无法处理(二级菜单):xxx”
重现问题步骤(如果可以)
发现问题的模块
模块对应的 .net 版本
开发环境
缓存环境
系统环境
联系方式
Email:sysrun@163.com
(也可将问题地址及联系方式发送到 www.jeffrey.su@gmail.com)
问题原因
CommonApi中GetButtonGroup方法,在对二级菜单进行处理时,重新跳入if,代码第369行。
The text was updated successfully, but these errors were encountered: