Commit 4b0016c4 authored by hj's avatar hj

更新提交

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