Commit 7c4035dd authored by hangjun83's avatar hangjun83

队列更新

parent 61583706
......@@ -60,15 +60,6 @@ class InteglePlatformService
{
try{
$result = $this->apiService->pushBatchUpdateProduct($updateData);
/*if($result){
if($result['status'] === false){
$this->apiService->pushQueue([
'consumer' => 'App\Services\InteglePlatformService',
'method' => 'batchUpdateApi',
'params' => $updateData
],'integle');
}
}*/
unset($result['status']);
$logsContent = [
......
......@@ -276,6 +276,7 @@ class WuxiLabService
$storeEntries['products'][] = $successProduct;
}
}
$this->apiService->storePlatformDataEntries('wuxiLab_do_not_update_products',['products' => $storeEntries['products']]);
}
}catch(\Throwable $exception){
SimpleLogs::writeLog($exception->getMessage(), __CLASS__.':batchUpdateToWuxiLab', '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