提交 1d27468a 作者: zhenjie

消息模板调试

上级 94a2006f
...@@ -219,6 +219,7 @@ public class WxServiceImpl implements WxService { ...@@ -219,6 +219,7 @@ public class WxServiceImpl implements WxService {
accessToken = this.getSubAccessToken(); accessToken = this.getSubAccessToken();
String url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=" + accessToken; String url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=" + accessToken;
String param = ws.buildMsgJson(); String param = ws.buildMsgJson();
log.info("模板消息发送param:{}", param);
String result = HttpHelper.httpPost(url, param); String result = HttpHelper.httpPost(url, param);
log.info("模板消息发送结果:{}", result); log.info("模板消息发送结果:{}", result);
} catch (Exception e) { } catch (Exception e) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论