...
|
...
|
@@ -442,7 +442,6 @@ class ProductController extends RestBaseController |
|
|
}
|
|
|
$perPage = !empty($data['per_page']) ? $data['per_page'] : config('per_page');
|
|
|
$page = !empty($data['page']) ? $data['page'] : 1;
|
|
|
echo $perPage;echo '|';echo $page;exit;
|
|
|
$resultWithPage = array_slice($arrResult, ($page - 1) * $perPage, $perPage);
|
|
|
$qinCount = count($arrResult);
|
|
|
$totalPage = ceil($qinCount / $perPage);
|
...
|
...
|
|