Beispiel #1
0
 /**
  * 移除对象缓存
  * @author 欧远宁
  * @param string $id 对象缓存的ID
  */
 private function mv_obj_cache($id)
 {
     try {
         if ($this->schema['cache'] > -1) {
             //改变查询缓存的流水号
             $this->cache->inc('qc.' . $this->mdl . '.' . $this->tbl);
             //移除对象缓存
             $this->cache->del($this->ver . $this->mdl . $this->tbl . $id);
         }
     } catch (Exception $e) {
         throw new err($e->getMessage(), 100);
     }
 }