Mike 4 vuotta sitten
vanhempi
commit
443e6457fb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Community/Controllers/ApiController.php

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

xqd
@@ -1152,7 +1152,7 @@ class ApiController extends Controller
                 $week =$schedule['week'];
 
                 if($v['status'] == true){
-                    $nutoday = intval(date('Ymd',strtotime($today)));
+                    $num_date = 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');