|
@ -265,6 +265,11 @@ class WechatClient extends RedisModel {
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
let first = "您的健康咨询有新的回复";
|
|
|
if(targetUserId!=message.sender_id){
|
|
|
first = "您的家人("+message.sender_name+")的健康咨询有新的回复";
|
|
|
}
|
|
|
|
|
|
// 发送模板消息
|
|
|
WechatSDK.sendTemplateMessage({
|
|
|
touser: openid,
|
|
@ -272,7 +277,7 @@ class WechatClient extends RedisModel {
|
|
|
url: config.wechatConfig.baseUrl + "/wx/html/yszx/html/consulting-doctor.html?openid=" + openid +
|
|
|
"&consult=" + topic.id + "&toUser=" + targetUserId + "&toName=" + targetUserName+"&represented="+message.sender_id,
|
|
|
data: {
|
|
|
first: {value: "您的健康咨询有新的回复", color: "#000000"}
|
|
|
first: {value: first, color: "#000000"}
|
|
|
, remark: {value: "", color: "#000000"}
|
|
|
, keyword1: {value: topic.description, color: "#000000"}
|
|
|
, keyword2: {value: replyContent, color: "#000000"}
|