Fetch the repository succeeded.
This action will force synchronization from hm-tools/hm-tools-wxmp-adapter, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
本组件对应实现微信公众平台“自定义菜单”章节相关api接口,原接口文档地址:自定义菜单
top.hmtools.wxmp.menu.apis.IMenuApi
对应实现创建、查询、删除接口top.hmtools.wxmp.menu.apis.IConditionalMenuApi
对应实现个性化菜单接口相关top.hmtools.wxmp.menu.models.eventMessage
包下对应实现“事件推送”相关xml数据对应的Javabean数据结构。可参阅 top.hmtools.wxmp.menu.enums.EMenuEventMessages。<dependency>
<groupId>top.hmtools</groupId>
<artifactId>wxmp-menu</artifactId>
<version>1.0.0</version>
</dependency>
//2 获取动态代理对象实例
IMenuApi menuApi = wxmpSession.getMapper(IMenuApi.class);
//3 获取自定义菜单数据并打印
MenuWapperBean menu = menuApi.getMenu();
System.out.println(JSON.toJSONString(menu));
更多示例参见:
2020.05.31 自定义菜单组件全部测试OK
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。