Mike hace 4 años
padre
commit
13e9da35fa
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Community/Controllers/ApiController.php

+ 1 - 0
app/Community/Controllers/ApiController.php

xqd
@@ -1152,6 +1152,7 @@ class ApiController extends Controller
                 $week =$schedule['week'];
 
                 if($v['status'] == true){
+                    $nutoday = intval(date('Ymd',strtotime($today)));
                     $sche_data = ['organization_id'=>$org_id,'schedule_date'=>$today,'schedule_day'=>$num_date];
                     //判断是否有排班信息
                     $s_id = Schedule::where($sche_data)->value('id');