...
|
...
|
@@ -61,6 +61,8 @@ class YuyueController extends UserBaseController |
|
|
|
|
|
//获取当前时段已被预约的教练
|
|
|
$ex = '';
|
|
|
$res1 = $tool->isMixTime(1,9,2,3);
|
|
|
var_dump($res1);
|
|
|
foreach ($rr as $v) {
|
|
|
// $day_find = [];
|
|
|
// for ($i = $v['yuyue_begin']; $i <= $v['yuyue_end']; $i++) {
|
...
|
...
|
@@ -74,7 +76,7 @@ class YuyueController extends UserBaseController |
|
|
// $ex .= $v['teach_id'] . ',';
|
|
|
// }
|
|
|
$res = $tool->isMixTime($bbegin,$eend,$v['yuyue_begin'],$v['yuyue_end']);
|
|
|
print_r($res);
|
|
|
var_dump($res);
|
|
|
$res && $ex .= $v['teach_id'] . ',';
|
|
|
|
|
|
}
|
...
|
...
|
|