Mike 4 years ago
parent
commit
13e9da35fa
1 changed files with 1 additions and 0 deletions
  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');