Commit ee83303e authored by shiyu's avatar shiyu

getMenu7

parent 133dee57
...@@ -267,7 +267,7 @@ public class OfficialAccountApi { ...@@ -267,7 +267,7 @@ public class OfficialAccountApi {
String responseStr2 = okHttpUtil.async(); String responseStr2 = okHttpUtil.async();
logger.info("删除接口返回原文 :{}", responseStr2); logger.info("删除接口返回原文 :{}", responseStr2);
map.put("responseStr2", responseStr2);*/ map.put("responseStr2", responseStr2);*/
String json = "{\"button\":[{\"type\":\"miniprogram\",\"name\":\"换藏\",\"url\":\"\",\"appid\":\"wx5b4409448bf2c72b\",\"pagepath\":\"pages/home/index\"}]}"; String json = "{\"button\":[{\"type\":\"miniprogram\",\"name\":\"换藏小程序\",\"url\":\"\",\"appid\":\"wx5b4409448bf2c72b\",\"pagepath\":\"pages/home/index\"}]}";
/* Map paramMap = JsonUtils.toMap(json); /* Map paramMap = JsonUtils.toMap(json);
String createUrl = "https://api.weixin.qq.com/cgi-bin/menu/create" + "?access_token=" + token; String createUrl = "https://api.weixin.qq.com/cgi-bin/menu/create" + "?access_token=" + token;
okHttpUtil = OkHttpUtil.builder().url(createUrl); okHttpUtil = OkHttpUtil.builder().url(createUrl);
......
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