mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-29 01:18:36 +08:00
修复企业号菜单创建接口方法的bug
This commit is contained in:
@ -143,7 +143,7 @@ public abstract class AbstractWxCpServiceImpl<H, P> implements WxCpService, Requ
|
|||||||
@Override
|
@Override
|
||||||
public void menuCreate(Integer agentId, WxMenu menu) throws WxErrorException {
|
public void menuCreate(Integer agentId, WxMenu menu) throws WxErrorException {
|
||||||
String url = "https://qyapi.weixin.qq.com/cgi-bin/menu/create?agentid="
|
String url = "https://qyapi.weixin.qq.com/cgi-bin/menu/create?agentid="
|
||||||
+ this.configStorage.getAgentId();
|
+ agentId;
|
||||||
post(url, menu.toJson());
|
post(url, menu.toJson());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user