feat: #10000 优化团购商品下载
This commit is contained in:
parent
ff9ad76fb6
commit
60eaa6cb73
@ -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']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user