Commit 80c5fba7 authored by shiyu's avatar shiyu

公众号消息测试

parent 2ca77442
......@@ -153,9 +153,9 @@ public class OfficialAccountApi {
map.put("touser", openId);
map.put("template_id", OFFICIALACCOUNT_TEMPLETID);
Map<String, Object> miniprogramMap = new HashMap<>();
String link = wxLoginManager.getLink(MSG_URL);
// String link = wxLoginManager.getLink(MSG_URL);
miniprogramMap.put("appid", APPLET_APPID);
miniprogramMap.put("pagepath", link);
miniprogramMap.put("path", MSG_URL);
map.put("miniprogram", miniprogramMap);
map.put("data", abstractSubscribeMsg.getTempletParam());
logger.info("============ 公众号模板消息内容 : {}", JsonUtils.fromMap(map));
......
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