Пример #1
0
 /**
  * 删除缓存
  * @author 欧远宁
  * @param string $key cache的key
  */
 public static function del_sys_cache($key)
 {
     $cache = cache::getIns('sys');
     $pre = 'user_';
     //给一个前缀,避免跟其他系统cache重名
     return $cache->del($pre . $key);
 }