Commit 4b0016c4 authored by hj's avatar hj

更新提交

parent 6afa776a
......@@ -234,12 +234,14 @@ class CheMenuService
}
}catch(\Throwable $exception){
SimpleLogs::writeLog($exception->getMessage(), 'chemenu error', 'error');
$productJobContent = [
'params' => ['content' => $productPageContent],
'consumer' => __CLASS__,
'method' => 'productSave'
];
$this->apiService->pushQueue($productJobContent,'chemenu_product_save');
if(!empty($productPageContent)){
$productJobContent = [
'params' => ['content' => $productPageContent],
'consumer' => __CLASS__,
'method' => 'productSave'
];
$this->apiService->pushQueue($productJobContent,'chemenu_product_save');
}
}
}
}
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