Commit 6303cdf5 authored by hangjun83's avatar hangjun83

更新

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