...
|
...
|
@@ -304,6 +304,8 @@ class YuyueController extends UserBaseController |
|
|
$exist_map1['yuyue_end'] = ['<=',$end];
|
|
|
|
|
|
$is_exist1=\db('yuyue')->where($exist_map1)->find();
|
|
|
dump($is_exist1);
|
|
|
dump($is_exist);
|
|
|
if (!empty($is_exist)||!empty($is_exist1)){
|
|
|
return json(['code' => '0', 'msg' => '您好,您的预约时间与其他学员冲突,请刷新后提交!']);
|
|
|
}
|
...
|
...
|
|