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
https://github.com/JeffreySu/WeiXinMPSDK/blob/master/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/CommonApi.Menu.cs#L221 1、在微信公众平台设置的两个子菜单中,一个是直接跳转url,另一个设置的显示图文信息。在获取菜单时总是报错,发现显示图文信息的菜单项是空内容,被代码认为跟菜单下只有一个菜单项,导致报错。 2、也许某些情况下的确只有一个子菜单,这个应该不影响程序的运行。
else if (availableSubButton < 2) { throw new WeixinMenuException("子菜单至少需要填写2个!"); }
The text was updated successfully, but these errors were encountered:
是的,最早的时候这个数量限制的,很久之前已经取消了,已经在v7.0.20修改,请看一下现在是否还有问题?谢谢!
Sorry, something went wrong.
Merge pull request #44 from JeffreySu/master
3e996a9
同步
No branches or pull requests
https://github.com/JeffreySu/WeiXinMPSDK/blob/master/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/CommonApi.Menu.cs#L221
1、在微信公众平台设置的两个子菜单中,一个是直接跳转url,另一个设置的显示图文信息。在获取菜单时总是报错,发现显示图文信息的菜单项是空内容,被代码认为跟菜单下只有一个菜单项,导致报错。
2、也许某些情况下的确只有一个子菜单,这个应该不影响程序的运行。
else if (availableSubButton < 2)
{
throw new WeixinMenuException("子菜单至少需要填写2个!");
}
The text was updated successfully, but these errors were encountered: