...
|
...
|
@@ -174,6 +174,10 @@ class UsersController extends HomeBaseController{ |
|
|
$users_id=$this->request->param('users_id');
|
|
|
$order=Db::name('order')->where(['users_id'=>$users_id])->paginate(8);
|
|
|
$data=$order->items();
|
|
|
foreach ($data as $k=>$v){
|
|
|
$time_info=$this->getTimeInfo($v['start_time'],$v['end_time']);
|
|
|
$data[$k]=array_merge($data[$k],$time_info);
|
|
|
}
|
|
|
dump($data);
|
|
|
exit;
|
|
|
$data=[
|
...
|
...
|
|