Browse Source

发送短信日志

付宇 3 weeks ago
parent
commit
c8dbf29663
1 changed files with 3 additions and 0 deletions
  1. 3 0
      jcjyhr/app/zskk/servies/PatientServies.php

+ 3 - 0
jcjyhr/app/zskk/servies/PatientServies.php

@@ -990,7 +990,10 @@ class PatientServies
                 }
                 $report->save($EXAM_REPORTS);
                 $patient = $this->patientModel->where('PATIENT_CODE',$information['PATIENT_CODE'])->find();
+                log::record('send message-1-PHONE:'.$patient['PHONE'].';ID_CARD_NUM:'.$patient['ID_CARD_NUM'].';ORGNAME:'.$information['ORGNAME']);
                 $this->sendYqSms($patient['PHONE'],$patient['ID_CARD_NUM'],$information['ORGNAME']);
+                log::record('send message-2-PHONE:'.$patient['PHONE'].';ID_CARD_NUM:'.$patient['ID_CARD_NUM'].';ORGNAME:'.$information['ORGNAME']);
+
             }
         }else{
             log::record('报告请求失败,失败原因,hosempi为空,失败参数:'.json_encode($params));