Browse Source

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

master
Binary Wang 7 years ago
parent
commit
d961047c24
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/AbstractWxCpServiceImpl.java

+ 1
- 1
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/AbstractWxCpServiceImpl.java 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());
}



Loading…
Cancel
Save