Commit 4b0016c4 authored by hj's avatar hj

更新提交

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