正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
@@ -442,7 +442,6 @@ class ProductController extends RestBaseController | @@ -442,7 +442,6 @@ class ProductController extends RestBaseController | ||
442 | } | 442 | } |
443 | $perPage = !empty($data['per_page']) ? $data['per_page'] : config('per_page'); | 443 | $perPage = !empty($data['per_page']) ? $data['per_page'] : config('per_page'); |
444 | $page = !empty($data['page']) ? $data['page'] : 1; | 444 | $page = !empty($data['page']) ? $data['page'] : 1; |
445 | - echo $perPage;echo '|';echo $page;exit; | ||
446 | $resultWithPage = array_slice($arrResult, ($page - 1) * $perPage, $perPage); | 445 | $resultWithPage = array_slice($arrResult, ($page - 1) * $perPage, $perPage); |
447 | $qinCount = count($arrResult); | 446 | $qinCount = count($arrResult); |
448 | $totalPage = ceil($qinCount / $perPage); | 447 | $totalPage = ceil($qinCount / $perPage); |
-
请 注册 或 登录 后发表评论