...
|
...
|
@@ -70,8 +70,10 @@ class OrderController extends HomeBaseController{ |
|
|
$order= Db::name('order')->where('order_no',$users['order_no'])->find();
|
|
|
$end_time=time();
|
|
|
$price=$this->getPrice($order['start_time'],$end_time);
|
|
|
$time=ceil(($end_time-$order['start_time'])/3600);
|
|
|
$data=[
|
|
|
'end_time'=>$end_time,
|
|
|
'time' => $time,
|
|
|
'price' => $price,
|
|
|
'state' => 2
|
|
|
];
|
...
|
...
|
|