Sfoglia il codice sorgente

修复门诊,计免,儿保的定时任务

刘远航 4 anni fa
parent
commit
2d3f4ab1c2
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      app/Http/Controllers/Api/V2/PatientController.php

+ 5 - 5
app/Http/Controllers/Api/V2/PatientController.php

xqd
@@ -758,11 +758,11 @@ class PatientController extends AuthController
                     $catNewIds[$k] = $v['id'];
                     $this->ReceivingReminderOK($v['id']);
                 }
-            }else if($v['product_type']==3){
-                if ((time()-$v['receiving_time'])>=(1*60*60*24)){
-                    $menNewIds[$k] = $v['id'];
-                    $this->AppointReminder($v['id']);
-                }
+            }else if($v['product_type']==3 || $v['product_type']==4 || $v['product_type']==5){
+//                if ((time()-$v['receiving_time'])>=(1*60*60*24)){
+                $menNewIds[$k] = $v['id'];
+                $this->AppointReminder($v['id']);
+//                }
             }
 
         }