作者 赵彬吉

update

... ... @@ -64,7 +64,7 @@ class RankData extends BaseCommands
foreach ($list as $item) {
Log::channel('rank_data')->info('项目开始:ID' . $item['project_id'] .' - '. $item['api_no']) . '';
try {
(new RankDataLogic())->syncRankData($item['api_no'], $site_res);
(new RankDataLogic())->syncRankData($item['api_no'], $site_res, true);
} catch (\Exception $e) {
Log::channel('rank_data')->error('RankData:失败 ' . $item['api_no'] . $e->getMessage());
$error++;
... ...