Commit a7559cf3 authored by hangjun83's avatar hangjun83

乐妍

parent c442f56d
......@@ -31,6 +31,7 @@ class LeyanService
$casList = app(BhuaProductService::class)->getProductCasByBidToGroupByCas($params);
if($casList){
foreach($casList as $cas){
if(empty($cas['c_cas'])) continue;
$this->apiService->pushQueue([
'params' => ['cas' => $cas],
'consumer' => __CLASS__,
......@@ -43,7 +44,7 @@ class LeyanService
public function updateProductByCas($params)
{
if(!$params['cas']) return null;
$result = $this->apiService->pushUpdateProductByCas($params,$this->getToken());
$result = $this->apiService->pushUpdateProductByCas($params['cas'],$this->getToken());
if(!$result){
return null;
}
......
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