Commit 509100fa authored by liuyuzhen's avatar liuyuzhen

首页相关修改

parent c95f49b1
...@@ -39,7 +39,7 @@ class ClassStoreServiceModel extends \Business\AbstractModel{ ...@@ -39,7 +39,7 @@ class ClassStoreServiceModel extends \Business\AbstractModel{
$lat = $position['lat']; $lat = $position['lat'];
$lng = $position['lng']; $lng = $position['lng'];
$classStoreModel = \DAO\Store\ClassStoreModel::getInstance(); $classStoreModel = \DAO\Store\ClassStoreModel::getInstance();
$storeList = \Our\RedisHelper::cachedFunction(\Redis\Db6\ClassStoreRedisModel::getInstance(), array(&$classStoreModel, 'getList'), array(array('gc_parent_id'=>$parentGcId),$this->classStoreField), \Our\ApiConst::oneHour,array()); $storeList = \Our\RedisHelper::cachedFunction(\Redis\Db6\ClassStoreRedisModel::getInstance(), array(&$classStoreModel, 'getList'), array(array('gc_parent_id'=>$parentGcId),$this->classStoreField), \Our\ApiConst::oneHour,array($parentGcId));
$newGcStoreList = array(); $newGcStoreList = array();
if($storeList){ if($storeList){
$newStoreList = array(); $newStoreList = array();
......
...@@ -125,6 +125,7 @@ class QmStoreClassModel extends \DAO\AbstractModel{ ...@@ -125,6 +125,7 @@ class QmStoreClassModel extends \DAO\AbstractModel{
} }
$platformFirstClassDao = \DAO\GoodsClass\PlatformFirstClassModel::getInstance(); $platformFirstClassDao = \DAO\GoodsClass\PlatformFirstClassModel::getInstance();
\Our\RedisHelper::delCachedFunction(\Redis\Db3\PlatformFirstClassRedisModel::getInstance(),array(&$platformFirstClassDao, 'getList'),array(),array()); \Our\RedisHelper::delCachedFunction(\Redis\Db3\PlatformFirstClassRedisModel::getInstance(),array(&$platformFirstClassDao, 'getList'),array(),array());
return true;
} }
/** /**
......
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