Mike %!s(int64=4) %!d(string=hai) anos
pai
achega
443e6457fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');