Commit 88c9e708 authored by hangjun83's avatar hangjun83

更新

parent a364c465
......@@ -154,11 +154,11 @@ class LeyanService
if(!empty($package['productStockInfos'])){
foreach($package['productStockInfos'] as $stock){
if(isset($stock['city'])){
if ($stock['city'] == '上海' && $stock['number'] > 0) {
if ($stock['city'] == '上海' && isset($stock['number']) && $stock['number'] > 0) {
$p_tod = '现货';
$status = 1;
break;
}
}
}
}
}
......
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