提交 76bf6512 作者: zhenjie

消息模板调试

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