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
在实现类中的menuCreate(String agentId, WxMenu menu)方法中agentid 应该是传进来的agentId,而不是
@OverRide public void menuCreate(WxMenu menu) throws WxErrorException { menuCreate(this.configStorage.getAgentId(), menu); }
@OverRide public void menuCreate(String agentId, WxMenu menu) throws WxErrorException { String url = "https://qyapi.weixin.qq.com/cgi-bin/menu/create?agentid="
post(url, menu.toJson());
}
The text was updated successfully, but these errors were encountered:
看着像是有问题的,如果有时间你可以帮忙提交个PR上来。
Sorry, something went wrong.
修复 #80 menuCreate()方法代码的问题,and reformat code
72d6aad
已修复
No branches or pull requests
在实现类中的menuCreate(String agentId, WxMenu menu)方法中agentid 应该是传进来的agentId,而不是
@OverRide
public void menuCreate(WxMenu menu) throws WxErrorException {
menuCreate(this.configStorage.getAgentId(), menu);
}
@OverRide
public void menuCreate(String agentId, WxMenu menu) throws WxErrorException {
String url = "https://qyapi.weixin.qq.com/cgi-bin/menu/create?agentid="
+ this.configStorage.getAgentId();
}
The text was updated successfully, but these errors were encountered: