正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -61,6 +61,8 @@ class YuyueController extends UserBaseController | @@ -61,6 +61,8 @@ class YuyueController extends UserBaseController | ||
61 | 61 | ||
62 | //获取当前时段已被预约的教练 | 62 | //获取当前时段已被预约的教练 |
63 | $ex = ''; | 63 | $ex = ''; |
64 | + $res1 = $tool->isMixTime(1,9,2,3); | ||
65 | + var_dump($res1); | ||
64 | foreach ($rr as $v) { | 66 | foreach ($rr as $v) { |
65 | // $day_find = []; | 67 | // $day_find = []; |
66 | // for ($i = $v['yuyue_begin']; $i <= $v['yuyue_end']; $i++) { | 68 | // for ($i = $v['yuyue_begin']; $i <= $v['yuyue_end']; $i++) { |
@@ -74,7 +76,7 @@ class YuyueController extends UserBaseController | @@ -74,7 +76,7 @@ class YuyueController extends UserBaseController | ||
74 | // $ex .= $v['teach_id'] . ','; | 76 | // $ex .= $v['teach_id'] . ','; |
75 | // } | 77 | // } |
76 | $res = $tool->isMixTime($bbegin,$eend,$v['yuyue_begin'],$v['yuyue_end']); | 78 | $res = $tool->isMixTime($bbegin,$eend,$v['yuyue_begin'],$v['yuyue_end']); |
77 | - print_r($res); | 79 | + var_dump($res); |
78 | $res && $ex .= $v['teach_id'] . ','; | 80 | $res && $ex .= $v['teach_id'] . ','; |
79 | 81 | ||
80 | } | 82 | } |
-
请 注册 或 登录 后发表评论