lgy 1 maand geleden
bovenliggende
commit
a1cb2a898e

+ 1 - 0
server/application/api/controller/test/TestController.php

@@ -91,6 +91,7 @@ class TestController extends Controller
 
 
     public function testOne(TestService $test) {
+        var_dump(1);die;
         $url = "http://111.53.165.106:9605/zskk/patient/syncExams";
         $data = [
             'studyUid'=>'123asd123',

+ 8 - 0
server/application/api/servies/butt/ButtService.php

@@ -188,6 +188,14 @@ class ButtService extends ZskkDefaultService {
                 $this->butt->updatePatient($patient,$patientId);
                 $institution = $this->butt->getIns($exam['institution_id']);
                 Log::record('当前医院是否发送短信'.$institution['patient_sms']);
+
+                $url = "http://111.53.165.106:9605/zskk/patient/syncExams";
+                $data = [
+                    'studyUid'=>$exam['STUDYUID'],
+                    'study_id'=>$exam['STUDY_ID']
+                ];
+                $this->curlPost($url,$data);
+
 //                if($institution['patient_sms'] == 1)
 //                {
 //                    log::record('可以发送短信,查看检查id'.$exam['id'].'查看study是'.$exam['study_id']);