|
|
@@ -201,17 +201,17 @@ class CacheModel extends Model
|
|
|
*/
|
|
|
public function getCacheFunc($funcName, $id = '')
|
|
|
{
|
|
|
- $cache_key = $this->getCacheKey($funcName, $id);
|
|
|
- $data = $this->getCache($cache_key);
|
|
|
- if (!$data) {
|
|
|
+ // $cache_key = $this->getCacheKey($funcName, $id);
|
|
|
+ //$data = $this->getCache($cache_key);
|
|
|
+ //if (!$data) {
|
|
|
$arg_list = func_get_args();
|
|
|
if ($this->table) {
|
|
|
array_shift($arg_list);
|
|
|
}
|
|
|
$act = "cache" . ucfirst($funcName);
|
|
|
$data = call_user_func_array(array($this, $act), $arg_list);
|
|
|
- $this->setCache($cache_key, $data, 1);
|
|
|
- }
|
|
|
+ //$this->setCache($cache_key, $data, 1);
|
|
|
+ //}
|
|
|
return $data;
|
|
|
}
|
|
|
|