Commit 133dee57 authored by shiyu's avatar shiyu

getMenu6

parent 7955336a
......@@ -261,12 +261,12 @@ public class OfficialAccountApi {
logger.info("getMenu接口返回原文 :{}", responseStr);
Map map = new HashMap<>();
map.put("responseStr", responseStr);
String deleteUrl = "https://api.weixin.qq.com/cgi-bin/menu/delete" + "?access_token=" + token;
/* String deleteUrl = "https://api.weixin.qq.com/cgi-bin/menu/delete" + "?access_token=" + token;
okHttpUtil = OkHttpUtil.builder().url(deleteUrl);
okHttpUtil.get();
String responseStr2 = okHttpUtil.async();
logger.info("删除接口返回原文 :{}", responseStr2);
map.put("responseStr2", responseStr2);
map.put("responseStr2", responseStr2);*/
String json = "{\"button\":[{\"type\":\"miniprogram\",\"name\":\"换藏\",\"url\":\"\",\"appid\":\"wx5b4409448bf2c72b\",\"pagepath\":\"pages/home/index\"}]}";
/* Map paramMap = JsonUtils.toMap(json);
String createUrl = "https://api.weixin.qq.com/cgi-bin/menu/create" + "?access_token=" + token;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment