作者 xiaohu thinkpad

测试获取当前时段的老师

... ... @@ -46,7 +46,7 @@ class YuyueController extends UserBaseController
//step3:选择响应时间教练
public function coach_list(tool $tool)
{
echo 2111111;
if (!session('yuyue_pre.day')) {
echo '非法请求';
}
... ... @@ -75,6 +75,10 @@ class YuyueController extends UserBaseController
// $ex .= $v['teach_id'] . ',';
// }
$res = $tool->isMixTime($bbegin,$eend,$v['yuyue_begin'],$v['yuyue_end']);
echo '<br>';
echo $bbegin,$eend,$v['yuyue_begin'],$v['yuyue_end'];
var_dump($res);
echo '<hr>';
$res && $ex .= $v['teach_id'] . ',';
... ...