浏览代码

$num_date

Mike 4 年之前
父节点
当前提交
443e6457fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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');