Commit 7b2f2748 authored by hangjun83's avatar hangjun83

震坤行

parent c35cf030
...@@ -216,12 +216,13 @@ class ZhenKhService ...@@ -216,12 +216,13 @@ class ZhenKhService
try { try {
$result = $this->rhawnService->updateZhenkhGoods($goods); $result = $this->rhawnService->updateZhenkhGoods($goods);
if(!is_null($result)){ if(!is_null($result)){
$this->consumerUpdateReportPriceAndStock(['goods' => $result]);
//更新商品的价格和库存 //更新商品的价格和库存
SimpleKafka::produerSend([ /*SimpleKafka::produerSend([
'params' => ['goods' => $result], 'params' => ['goods' => $result],
'consumer' => __CLASS__, 'consumer' => __CLASS__,
'method' => 'consumerUpdateReportPriceAndStock' 'method' => 'consumerUpdateReportPriceAndStock'
],'zkh'); ],'zkh');*/
} }
} catch (\Throwable $exception) { } catch (\Throwable $exception) {
......
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