Commit 5cababe4 authored by hj's avatar hj

更新提交

parent f828e4f9
...@@ -78,6 +78,7 @@ class CheMenuService ...@@ -78,6 +78,7 @@ class CheMenuService
$pageUrl = str_replace($this->apiService->getDomain(), '', $nextHref['nextHref']); $pageUrl = str_replace($this->apiService->getDomain(), '', $nextHref['nextHref']);
} }
} }
usleep(rand(50000,150000));
} }
} }
}catch(\Throwable $exception){ }catch(\Throwable $exception){
...@@ -158,6 +159,8 @@ class CheMenuService ...@@ -158,6 +159,8 @@ class CheMenuService
} }
$this->apiService->saveProduct($productPageContent); $this->apiService->saveProduct($productPageContent);
} }
usleep(rand(50000,150000));
} }
}catch(\Throwable $exception){ }catch(\Throwable $exception){
SimpleLogs::writeLog($exception->getMessage(), 'chemenu error', 'error'); 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