作者 sgj
1 个管道 的构建 通过 耗费 1 秒

test api

... ... @@ -423,7 +423,7 @@ class OrderController extends HomeBaseController{
// $start_time=$data['start_time']??'1545084020';
// $end_time=$data['end_time']??time();
$spend=$this->timediff($start_time,$end_time);
if ($spend['min']!=0||$spend['sex']!=0){
if ($spend['min']!=0||$spend['sec']!=0){
$spend['hour']++;
}
$interval = Db::name('interval')->where('id',1)->find();
... ... @@ -469,7 +469,7 @@ class OrderController extends HomeBaseController{
// $start_time=$data['start_time']??'1545084020';
// $end_time=$data['end_time']??time();
$spend=$this->timediff($start_time,$end_time);
if ($spend['min']!=0||$spend['sex']!=0){
if ($spend['min']!=0||$spend['sec']!=0){
$spend['hour']++;
}
$interval = Db::name('interval')->where('id',1)->find();
... ...