From 60eaa6cb73373e225a8ef0d14d554eb8f5e04aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=B8=96=E7=95=8C?= <642747453@qq.com> Date: Sun, 29 Jan 2023 14:47:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20#10000=20=E4=BC=98=E5=8C=96=E5=9B=A2?= =?UTF-8?q?=E8=B4=AD=E5=95=86=E5=93=81=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Shop/ShopsController.php | 4 +++- app/Services/Business/KuaiTuanTuan/Groups.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Shop/ShopsController.php b/app/Http/Controllers/Shop/ShopsController.php index 6fc6b4d..26a23a5 100644 --- a/app/Http/Controllers/Shop/ShopsController.php +++ b/app/Http/Controllers/Shop/ShopsController.php @@ -177,7 +177,9 @@ class ShopsController extends Controller $res = $business->queryGroup(); if (isset($res['ktt_group_query_list_response'])) { foreach ($res['ktt_group_query_list_response']['activity_list'] as $activity) { - $business->downloadGoodsListAndBind($activity['activity_no'], $activity['title']); + if (0 === $activity['is_help_sell']) { + $business->downloadGoodsListAndBind($activity['activity_no'], $activity['title']); + } } } diff --git a/app/Services/Business/KuaiTuanTuan/Groups.php b/app/Services/Business/KuaiTuanTuan/Groups.php index 30fa34f..985ca13 100644 --- a/app/Services/Business/KuaiTuanTuan/Groups.php +++ b/app/Services/Business/KuaiTuanTuan/Groups.php @@ -87,7 +87,7 @@ class Groups $appendParams = [ 'end_update_time' => $time, 'page' => 1, - 'size' => 10, + 'size' => 100, 'start_update_time' => $time - 3600 * 24 * 6 * 1000 ];