Commit 7c4035dd authored by hangjun83's avatar hangjun83

队列更新

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