Commit fa9432b3 authored by liuyuzhen's avatar liuyuzhen

首页附近的店铺

parent d57bc306
......@@ -450,15 +450,16 @@ class StoreServiceModel extends \Business\AbstractModel{
$signStoreKey = \Our\NameConst::signStoreIdsPrefix . $readisSuffix;
$signStoreIds =$storeRedis->find($signStoreKey, \Our\ApiConst::oneHour);
$serviceStoreKey = \Our\NameConst::serviceStoreIdsPrefix . $readisSuffix;
$serviceStoreIds = $storeRedis->find($serviceStoreKey, \Our\ApiConst::oneHour);
if(is_array($signStoreIds)&&is_array($serviceStoreIds)){
//$serviceStoreKey = \Our\NameConst::serviceStoreIdsPrefix . $readisSuffix;
//$serviceStoreIds = $storeRedis->find($serviceStoreKey, \Our\ApiConst::oneHour);
/*if(is_array($signStoreIds)&&is_array($serviceStoreIds)){
$nearbyStoreIds = array_merge($serviceStoreIds,$signStoreIds);
}else if(is_array($signStoreIds)){
}else */
if(is_array($signStoreIds)){
$nearbyStoreIds = $signStoreIds;
}else if(is_array($serviceStoreIds)){
}/*else if(is_array($serviceStoreIds)){
$nearbyStoreIds = $serviceStoreIds;
}
}*/
if($nearbyStoreIds&&is_array($nearbyStoreIds)){
return $nearbyStoreIds;
}
......
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