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
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
create(me.chanjar.weixin.common.bean.menu.WxMenu)
void delete() throws WxErrorException
自定义菜单删除接口 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单删除接口 注意: 这个方法使用WxCpConfigStorage里的agentId
WxErrorException
delete(Integer)
void delete(Integer agentId) throws WxErrorException
自定义菜单删除接口 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单删除接口 注意: 这个方法不使用WxCpConfigStorage里的agentId,需要开发人员自己给出
agentId
- 企业号应用的idWxErrorException
delete()
WxMenu get() throws WxErrorException
自定义菜单查询接口 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单查询接口 注意: 这个方法使用WxCpConfigStorage里的agentId
WxErrorException
get(Integer)
WxMenu get(Integer agentId) throws WxErrorException
自定义菜单查询接口 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单查询接口 注意: 这个方法不使用WxCpConfigStorage里的agentId,需要开发人员自己给出
agentId
- 企业号应用的idWxErrorException
get()
Copyright © 2021. All rights reserved.