Commit 5cababe4 authored by hj's avatar hj

更新提交

parent f828e4f9
......@@ -78,6 +78,7 @@ class CheMenuService
$pageUrl = str_replace($this->apiService->getDomain(), '', $nextHref['nextHref']);
}
}
usleep(rand(50000,150000));
}
}
}catch(\Throwable $exception){
......@@ -158,6 +159,8 @@ class CheMenuService
}
$this->apiService->saveProduct($productPageContent);
}
usleep(rand(50000,150000));
}
}catch(\Throwable $exception){
SimpleLogs::writeLog($exception->getMessage(), 'chemenu error', 'error');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment