作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

@@ -170,7 +170,7 @@ class UsersController extends HomeBaseController{ @@ -170,7 +170,7 @@ class UsersController extends HomeBaseController{
170 public function getOrder(){ 170 public function getOrder(){
171 $users_id=$this->request->param('users_id'); 171 $users_id=$this->request->param('users_id');
172 $order=Db::name('order')->where(['users_id'=>$users_id])->paginate(1); 172 $order=Db::name('order')->where(['users_id'=>$users_id])->paginate(1);
173 - dump($order); 173 + dump($order->currentPage());//当前页
174 dump($order['options']); 174 dump($order['options']);
175 175
176 // $data=[ 176 // $data=[