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

添加时间信息

@@ -173,7 +173,8 @@ class UsersController extends HomeBaseController{ @@ -173,7 +173,8 @@ class UsersController extends HomeBaseController{
173 public function getOrder(){ 173 public function getOrder(){
174 $users_id=$this->request->param('users_id'); 174 $users_id=$this->request->param('users_id');
175 $order=Db::name('order')->where(['users_id'=>$users_id])->paginate(8); 175 $order=Db::name('order')->where(['users_id'=>$users_id])->paginate(8);
176 - dump($order); 176 + $data=$order->items();
  177 + dump($data);
177 exit; 178 exit;
178 $data=[ 179 $data=[
179 'currentPage'=>$order->currentPage(), 180 'currentPage'=>$order->currentPage(),