修改短信发送
This commit is contained in:
@@ -677,7 +677,7 @@ class ImService extends BaseService
|
||||
try {
|
||||
// 发送消息
|
||||
$cloud_custom_data = array();
|
||||
$cloud_custom_data['order_inquiry_id'] = $order_detection['order_inquiry_id'];
|
||||
$cloud_custom_data['order_inquiry_id'] = (string)$order_detection['order_inquiry_id'];
|
||||
$cloud_custom_data['is_system'] = 1;
|
||||
$cloud_custom_data['inquiry_type'] = 5; // 订单类型(1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药 5:检测)
|
||||
$cloud_custom_data['message_rounds'] = 0;
|
||||
@@ -719,7 +719,7 @@ class ImService extends BaseService
|
||||
try {
|
||||
// 消息内容
|
||||
$cloud_custom_data = array();
|
||||
$cloud_custom_data['order_inquiry_id'] = $order_detection['order_inquiry_id'];
|
||||
$cloud_custom_data['order_inquiry_id'] = (string)$order_detection['order_inquiry_id'];
|
||||
$cloud_custom_data['is_system'] = 1;
|
||||
$cloud_custom_data['inquiry_type'] = 5; // 订单类型(1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药 5:检测)
|
||||
$cloud_custom_data['message_rounds'] = 0;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user