get($this->key); if($list === false||1) { //unserialize( $sql = "select id,name,class_name,logo from ".DB_PREFIX."payment where is_effect = 1 and online_pay in (3,4) and class_name not like '%Aliapp%' order by sort"; $list = $GLOBALS['db']->getAll($sql,true,true); foreach ( $list as $k => $v ) { $list[$k]['logo'] = get_spec_image($v['logo']); } $GLOBALS['cache']->set($this->key,$list,3600,true); } return $list; } public function rm($param) { $GLOBALS['cache']->rm($this->key); } public function clear_all() { $GLOBALS['cache']->rm($this->key); } } ?>