mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
feat: #10000 优化团购商品下载
This commit is contained in:
parent
ff9ad76fb6
commit
60eaa6cb73
@ -177,7 +177,9 @@ class ShopsController extends Controller
|
|||||||
$res = $business->queryGroup();
|
$res = $business->queryGroup();
|
||||||
if (isset($res['ktt_group_query_list_response'])) {
|
if (isset($res['ktt_group_query_list_response'])) {
|
||||||
foreach ($res['ktt_group_query_list_response']['activity_list'] as $activity) {
|
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 = [
|
$appendParams = [
|
||||||
'end_update_time' => $time,
|
'end_update_time' => $time,
|
||||||
'page' => 1,
|
'page' => 1,
|
||||||
'size' => 10,
|
'size' => 100,
|
||||||
'start_update_time' => $time - 3600 * 24 * 6 * 1000
|
'start_update_time' => $time - 3600 * 24 * 6 * 1000
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user