Commit 39ed2be0 authored by wwccw0591's avatar wwccw0591

更新

parent d0e8ac42
...@@ -274,8 +274,10 @@ class GroupSaleServiceModel extends \Business\AbstractModel { ...@@ -274,8 +274,10 @@ class GroupSaleServiceModel extends \Business\AbstractModel {
foreach($storeIds as $key){ foreach($storeIds as $key){
$tempReturnCart = $result[$key]; $tempReturnCart = $result[$key];
$tempStore = $storeDao->get($key,false,false); $tempStore = $storeDao->get($key,false,false);
$tempReturnCart['inAreaFlag'] = $storeDao->checkAddressInServiceArea($address,$tempStore); if($tempStore) { //如果存在店铺数据
$newResult[] = $tempReturnCart; $tempReturnCart['inAreaFlag'] = $storeDao->checkAddressInServiceArea($address,$tempStore);
$newResult[] = $tempReturnCart;
}
} }
return array('totalCount'=>count($storeCartList),'list'=>$newResult); return array('totalCount'=>count($storeCartList),'list'=>$newResult);
} }
...@@ -1069,4 +1071,4 @@ class GroupSaleServiceModel extends \Business\AbstractModel { ...@@ -1069,4 +1071,4 @@ class GroupSaleServiceModel extends \Business\AbstractModel {
} }
} }
\ No newline at end of file
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