public interface WxCpMenuService
菜单管理相关接口 Created by BinaryWang on 2017/6/24.
| 限定符和类型 | 方法和说明 | 
|---|---|
| void | create(Integer agentId,
      WxMenu menu)
 自定义菜单创建接口
 详情请见: http://mp.weixin.qq.com/wiki/index.php? | 
| void | create(WxMenu menu)
 自定义菜单创建接口
 详情请见: http://mp.weixin.qq.com/wiki/index.php? | 
| void | delete()
 自定义菜单删除接口
 详情请见: http://mp.weixin.qq.com/wiki/index.php? | 
| void | delete(Integer agentId)
 自定义菜单删除接口
 详情请见: http://mp.weixin.qq.com/wiki/index.php? | 
| WxMenu | get()
 自定义菜单查询接口
 详情请见: http://mp.weixin.qq.com/wiki/index.php? | 
| WxMenu | get(Integer agentId)
 自定义菜单查询接口
 详情请见: http://mp.weixin.qq.com/wiki/index.php? | 
void create(WxMenu menu) throws WxErrorException
自定义菜单创建接口 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单创建接口 注意: 这个方法使用WxCpConfigStorage里的agentId
menu - 菜单对象WxErrorException - the wx error exception#create(Integer, WxMenu)void create(Integer agentId, WxMenu menu) throws WxErrorException
自定义菜单创建接口 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单创建接口 注意: 这个方法不使用WxCpConfigStorage里的agentId,需要开发人员自己给出
agentId - 企业号应用的idmenu - 菜单对象WxErrorException - the wx error exception#create(me.chanjar.weixin.common.bean.menu.WxMenu)void delete()
     throws WxErrorException
自定义菜单删除接口 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单删除接口 注意: 这个方法使用WxCpConfigStorage里的agentId
WxErrorException - the wx error exception#delete(Integer)void delete(Integer agentId) throws WxErrorException
自定义菜单删除接口 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单删除接口 注意: 这个方法不使用WxCpConfigStorage里的agentId,需要开发人员自己给出
agentId - 企业号应用的idWxErrorException - the wx error exception#delete()WxMenu get() throws WxErrorException
自定义菜单查询接口 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单查询接口 注意: 这个方法使用WxCpConfigStorage里的agentId
WxErrorException - the wx error exception#get(Integer)WxMenu get(Integer agentId) throws WxErrorException
自定义菜单查询接口 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单查询接口 注意: 这个方法不使用WxCpConfigStorage里的agentId,需要开发人员自己给出
agentId - 企业号应用的idWxErrorException - the wx error exception#get()Copyright © 2024. All rights reserved.