...
|
...
|
@@ -169,7 +169,7 @@ class UsersController extends HomeBaseController{ |
|
|
*/
|
|
|
public function getOrder(){
|
|
|
$users_id=$this->request->param('users_id');
|
|
|
$order=Db::name('order')->where(['users_id'=>$users_id])->paginate(1);
|
|
|
$order=Db::name('order')->where(['users_id'=>$users_id])->paginate(8);
|
|
|
dump($order->currentPage());//当前页
|
|
|
dump($order->total());//总页数
|
|
|
dump($order->items());//当前页
|
...
|
...
|
|