Skip to content

Commit d961047

Browse files
committed
修复企业号菜单创建接口方法的bug
1 parent 655b2c3 commit d961047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/AbstractWxCpServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void menuCreate(WxMenu menu) throws WxErrorException {
143143
@Override
144144
public void menuCreate(Integer agentId, WxMenu menu) throws WxErrorException {
145145
String url = "https://qyapi.weixin.qq.com/cgi-bin/menu/create?agentid="
146-
+ this.configStorage.getAgentId();
146+
+ agentId;
147147
post(url, menu.toJson());
148148
}
149149

0 commit comments

Comments
 (0)