fix: #20220824 商品下载分页修改
This commit is contained in:
parent
abecffb9ba
commit
9c367b2914
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user