Authored by whb

webConfig的缓存

@@ -246,7 +246,7 @@ class HomeModel @@ -246,7 +246,7 @@ class HomeModel
246 public static function getNewArrival($channel) 246 public static function getNewArrival($channel)
247 { 247 {
248 $result = array(); 248 $result = array();
249 - $key = sprintf(CacheConfig::KEY_WEB_HOME_CHANNEL_NEWARRIVAL_DATA.'_'.$channel); 249 + $key = sprintf(WebCacheConfig::KEY_WEB_HOME_CHANNEL_NEWARRIVAL_DATA.'_'.$channel);
250 //缓存数据 250 //缓存数据
251 $result = Cache::get($key); 251 $result = Cache::get($key);
252 if(empty($result)) { 252 if(empty($result)) {