Commit 75b74f8b authored by liuyuzhen's avatar liuyuzhen

店铺数据

parent 95ba672b
......@@ -841,7 +841,7 @@ class StoreServiceModel extends \Business\AbstractModel{
return false;
}
$field = 'store_id as storeId,store_name as storeName,store_label as storeLabel,store_intro as storeIntro,store_longitude,store_latitude';
$where = ' and store_id in('.implode(',',$storeIds).')';
$where = ' store_id in('.implode(',',$storeIds).')';
sort($storeIds);
$stores = \Our\RedisHelper::cachedFunction(\Redis\Db6\StoreRedisModel::getInstance(), array(&$storeDao, 'getOnlineStores'), array($where, $field), \Our\ApiConst::oneHour);
if($stores){
......
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