正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -198,7 +198,7 @@ class UsersController extends HomeBaseController{ | @@ -198,7 +198,7 @@ class UsersController extends HomeBaseController{ | ||
198 | public function getOrder(){ | 198 | public function getOrder(){ |
199 | $users_id=$this->request->param('users_id'); | 199 | $users_id=$this->request->param('users_id'); |
200 | $map['state']=['neq',1]; | 200 | $map['state']=['neq',1]; |
201 | - $order=Db::name('order')->where(['users_id'=>$users_id,])->where()->order('id','desc')->paginate(8); | 201 | + $order=Db::name('order')->where(['users_id'=>$users_id,])->where($map)->order('id','desc')->paginate(8); |
202 | $data_info=$order->items(); | 202 | $data_info=$order->items(); |
203 | foreach ($data_info as $k=>$v){ | 203 | foreach ($data_info as $k=>$v){ |
204 | $time_info=$this->getTimeInfo($v['start_time'],$v['end_time']); | 204 | $time_info=$this->getTimeInfo($v['start_time'],$v['end_time']); |
-
请 注册 或 登录 后发表评论