|
@ -238,12 +238,12 @@ public class DoctorBirthdayWishesEndpoint extends BaseController {
|
|
|
com.alibaba.fastjson.JSONObject json = new com.alibaba.fastjson.JSONObject();
|
|
|
String first = "助老员key1为您发送生日祝福,请点击查看。";
|
|
|
first = first.replace("key1",one.getDoctorName());
|
|
|
json.put("doctorName", one.getDoctorName());
|
|
|
json.put("toUser", patient);
|
|
|
json.put("name", tmp.get("name").toString());
|
|
|
json.put("content", one.getContent());
|
|
|
json.put("openid",tmp.get("openid").toString());
|
|
|
json.put("represented","");//被代理人
|
|
|
json.put("id", one.getId());
|
|
|
// json.put("toUser", patient);
|
|
|
// json.put("name", tmp.get("name").toString());
|
|
|
// json.put("content", one.getContent());
|
|
|
// json.put("openid",tmp.get("openid").toString());
|
|
|
// json.put("represented","");//被代理人
|
|
|
boolean success = messageUtil.putTemplateWxMessage(wxId,"template_success_notice","srzf",tmp.get("openid").toString(),first,
|
|
|
null,one.getContent(),26,json,"已发送", DateUtil.dateToChineseTime(new Date()));
|
|
|
if (success){
|