修复企业号菜单创建接口方法的bug

This commit is contained in:
Binary Wang 2017-05-27 10:12:27 +08:00
parent 655b2c3201
commit d961047c24

View File

@ -143,7 +143,7 @@ public abstract class AbstractWxCpServiceImpl<H, P> implements WxCpService, Requ
@Override
public void menuCreate(Integer agentId, WxMenu menu) throws WxErrorException {
String url = "https://qyapi.weixin.qq.com/cgi-bin/menu/create?agentid="
+ this.configStorage.getAgentId();
+ agentId;
post(url, menu.toJson());
}