Browse Source

排班修改

lizhen_gitee 9 months ago
parent
commit
fc38e872ae
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/api/controller/doctor/Index.php

+ 1 - 0
application/api/controller/doctor/Index.php

@@ -85,6 +85,7 @@ class Index extends Apic
                     'date' => date('Y-m-d H:i',$y_hour),
                     'date_text' => date('H:i',$y_hour),
                     'active' => 0,
+                    'is_edit' => ($y_hour <= time()) ? 0 : 1, //是否能编辑
                 ];
 
                 if(isset($paiban[$y_hour]) && $paiban[$y_hour] == 1){