-
Notifications
You must be signed in to change notification settings - Fork 1.1k
MenuAPI
JPCui edited this page Feb 6, 2018
·
3 revisions
菜单管理
Button sub1 = new Button();
sub1.setType("view");
sub1.setName("View Book");
sub1.setUrl("http://www.baidu.com/");
Button sub2 = new Button();
sub2.setType("click");
sub2.setName("Click");
sub2.setKey("click-01");
Button sub3 = new Button();
sub3.setType("pic_weixin");
sub3.setName("PIC");
sub3.setKey("click-02");
MenuButtons btn1 = new MenuButtons();
btn1.setButton(new Button[]{sub1, sub2, sub3});
String accessToken = "XXXXXXXXXX";
MenuAPI.menuCreate(accessToken, btn1);
获取token
- TokenAPI access_token 获取
- MediaAPI 多媒体上传下载(临时素材)
- MaterialAPI 永久素材
- MenuAPI 菜单、个性化菜单
- MessageAPI 信息发送(客服消息、群发消息、模板消息)
- PayAPI 支付订单相关接口
- PayMchAPI 支付订单、红包、企业付款、代扣费(商户平台版)
- QrcodeAPI 二维码
- SnsAPI 网签授权
- UserAPI 用户管理、分组、标签、黑名单
- ShorturlAPI 长链接转短链接
- TicketAPI JSAPI ticket
- ComponentAPI 第三方平台开发
- CallbackipAPI 获取微信服务器IP地址
- ClearQuotaAPI 接口调用频次清零
- PoiAPI 微信门店 @Moyq5 (贡献)
- CardAPI 微信卡券 @Moyq5 (贡献)
- ShakearoundAPI 微信摇一摇周边 @Moyq5 (贡献)
- DatacubeAPI 数据统计 @Moyq5 (贡献)
- CustomserviceAPI 客服功能 @ConciseA (贡献)