Commit 63ada51b authored by hangjun83's avatar hangjun83

更新

parent 7ff204b3
......@@ -219,7 +219,13 @@ class LeyanService
}
}
SimpleLogs::writeLog('Leyan p_id : '.$id.' cas : '.$chemicalsRow->c_cas. ' 更新成功,更新时间:'.date('Y-m-d H:i:s',time()),__CLASS__.':storeLeyanProducts');
if($id > 0){
SimpleLogs::writeLog('Leyan p_id : '.$id.' cas : '.$chemicalsRow->c_cas. ' 更新成功,更新时间:'.date('Y-m-d H:i:s',time()),__CLASS__.':storeLeyanProducts');
}else{
if($status == 0){
SimpleLogs::writeLog('Leyan cas : '.$chemicalsRow->c_cas. '为下架状态不做更新',__CLASS__.':storeLeyanProducts');
}
}
}
$dbConnect->commit();
......
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