|
|
@@ -108,7 +108,7 @@ public class WeChatUtils {
|
|
|
map.put("touser", openid);
|
|
|
map.put("page", "pages/egressDetails/index?id="+id);
|
|
|
map.put("miniprogram_state", wxState);
|
|
|
- map.put("template_id", PUBLIC_RELEASE_EXAMINE_RESULT);
|
|
|
+ map.put("template_id", PUBLIC_RELEASE_SEND_COPY);
|
|
|
map.put("data",getSendCopyData(name, startTime, endTime, typeName, plan));
|
|
|
return SendHttpPost(map, url);
|
|
|
|
|
|
@@ -139,6 +139,7 @@ public class WeChatUtils {
|
|
|
JSONObject res=HttpUtils.httpPost(url, map);
|
|
|
if (res.get("errcode")!=null) {
|
|
|
LoggerUtils.error(this.getClass(),String.format("================errcode={%s}",res));
|
|
|
+ LoggerUtils.error(this.getClass(),String.format("================data={%s}",map.get("data")));
|
|
|
return res.getInteger("errcode");
|
|
|
}else {
|
|
|
return 1;
|