修改短信发送

This commit is contained in:
2023-08-09 16:23:38 +08:00
parent 2986856197
commit 0aa81cf766
4 changed files with 15 additions and 11 deletions
+3 -8
View File
@@ -2133,15 +2133,10 @@ class MessagePush extends BaseService
$sub_data['params']['page'] = "Pages/yishi/wenzhen_v2/wenzhen";
$sub_data['params']['data'] = [
"thing1" => "问诊咨询已取消",// 提醒内容
"name2" => (string)$this->order_inquiry['patient_name'],// 患者姓名
"thing4" => (string)$disease_desc,// 病情描述
"thing6" => "您可以选择其他患者的问诊咨询进行接诊",// 提示说明
"thing5" => "",// 咨询内容
];
$data = array();
@@ -2336,19 +2331,19 @@ class MessagePush extends BaseService
"thing1" => "" . $detection_project['detection_project_name'] . "】报告已出",// 报告名称
"time3" => date('Y年m月d日 H:i'),// 生成时间
"thing9" => $order_detection['patient_name'],// 就诊人
"thing4" => $basic_detection_organ['gts_ccis_name'],// 单位名称-检测所名称
"thing4" => $basic_detection_organ['detection_organ_name'],// 单位名称-检测所名称
"thing8" => "请联系医生做报告解读,您有5个沟通回合。",// 测评结果
];
// 短信
$sms_data = array();
$sms_data['template_code'] = "SMS_462035956";
$sms_data['scene_desc'] = "您的${$detection_project['detection_project_name']}报告单已出,请联系医生做报告解读。平台已赠送您和医生5个沟通回合,请珍惜沟通机会,请前往肝胆相照互联网医院微信小程序“个人中心”-“检测订单”-“订单详情”查看报告。";
$sms_data['scene_desc'] = "您的{$detection_project['detection_project_name']}报告单已出,请联系医生做报告解读。平台已赠送您和医生5个沟通回合,请珍惜沟通机会,请前往肝胆相照互联网医院微信小程序“个人中心”-“检测订单”-“订单详情”查看报告。";
$sms_data['phone'] = $this->user['mobile'];
$sms_data['user_id'] = $this->user['user_id'];
$template_param = array();
$template_param['name'] = $order_detection['patient_name'];
$template_param['report'] = $detection_project['detection_project_name'];
$sms_data['template_param'] = $template_param;
$data = array();