营业时间
This commit is contained in:
@@ -903,7 +903,7 @@ class Room extends Model
|
||||
$isBusinessHours = $this-> isBetweenTime($startTime, $endTime, $currentTime);
|
||||
// 输出结果
|
||||
if (!$isBusinessHours) {
|
||||
return ['code' => 0, 'msg' => '当前时间不在营业时间内', 'data' => ''];
|
||||
return ['code' => 0, 'msg' => '当前时间此房间不在营业时间内', 'data' => ''];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user