Commit 17b9b6bf authored by hangjun83's avatar hangjun83

接口bug修复

parent 9ec2eb28
......@@ -44,7 +44,7 @@ class ZhenKhService
$goods = $params['goods'];
try{
$product = $this->rhawnService->getRawProductsThroughPid($goods->zg_r_pid);
$product = $this->rhawnService->getProductsThroughPid($goods->zg_r_pid);
if($product){
while(true){
$result = $this->apiService->updateReportProductPrice([
......@@ -75,7 +75,7 @@ class ZhenKhService
}
}
}
$result = $this->rhawnService->updateSyncRunTime($goods->zg_id);
$result = $this->zhenKhOrderService->updateSyncRunTime($goods->zg_id);
if($result){
SimpleLogs::writeLog($goods['zg_sku'].'的价格和库存上报完成。完成时间:'.date('Y-m-d H:i:s',time()),__CLASS__.':consumerUpdateReportPriceAndStock');
}
......
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