...
|
...
|
@@ -90,6 +90,18 @@ class OrderController extends HomeBaseController{ |
|
|
$interval = Db::name('interval')->where('id',1)->find();
|
|
|
|
|
|
//判断是否在时间段内
|
|
|
$interval['start_time'];
|
|
|
if ($end_time > $interval['start_time'] && $end_time < $interval['end_time']){
|
|
|
if ($start_time > $interval['start_time']){
|
|
|
|
|
|
}else if ($start_time < $interval['start_time']){
|
|
|
|
|
|
}
|
|
|
}elseif ($start_time < $interval['end_time'] && $end_time > $interval['end_time']){
|
|
|
|
|
|
}else{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
$price=1;
|
...
|
...
|
|