!64 商品下载 分页修改

Merge pull request !64 from develop
This commit is contained in:
赵世界 2022-08-24 03:56:45 +00:00 committed by Gitee
commit 1bca23355c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -44,7 +44,7 @@ class KuaiTuanTuan extends BusinessClient
$goods = $res['ktt_goods_query_list_response']['goods_list']; $goods = $res['ktt_goods_query_list_response']['goods_list'];
$this->bindGoods($goods); $this->bindGoods($goods);
$pageNum = ceil($res['ktt_goods_query_list_response']['total'] / $appendParams['size']); $pageNum = ceil($res['ktt_goods_query_list_response']['total'] / $appendParams['size']);
if ($pageNum > $page && 10 >= $page) { if ($pageNum > $page && 30 >= $page) {
$this->downloadGoodsListAndBind($page + 1); $this->downloadGoodsListAndBind($page + 1);
} }
} }