...
|
...
|
@@ -294,7 +294,7 @@ class YuyueController extends UserBaseController |
|
|
$exist_map['teach_id'] = intval($tech_id);
|
|
|
$exist_map['yuyue_day'] = $day;
|
|
|
$exist_map['yuyue_week'] = $week;
|
|
|
$exist_map['yuyue_end'] = [['>',$begin],['<=',$end].'or'];
|
|
|
$exist_map['yuyue_end'] = [['>',$begin],['<=',$end],'or'];
|
|
|
$is_exist=\db('yuyue')->where($exist_map)->find();
|
|
|
if (!empty($is_exist)){
|
|
|
return json(['code' => '0', 'msg' => '您好,您的预约时间与其他学员冲突,请刷新后提交!']);
|
...
|
...
|
|