...
|
...
|
@@ -198,7 +198,7 @@ class UsersController extends HomeBaseController{ |
|
|
public function getOrder(){
|
|
|
$users_id=$this->request->param('users_id');
|
|
|
$map['state']=['neq',1];
|
|
|
$order=Db::name('order')->where(['users_id'=>$users_id,])->where()->order('id','desc')->paginate(8);
|
|
|
$order=Db::name('order')->where(['users_id'=>$users_id,])->where($map)->order('id','desc')->paginate(8);
|
|
|
$data_info=$order->items();
|
|
|
foreach ($data_info as $k=>$v){
|
|
|
$time_info=$this->getTimeInfo($v['start_time'],$v['end_time']);
|
...
|
...
|
|