public function needCache() { return $this->needCache && !self::$disableReadCache; }
private function needCache() { // TODO 如果没有设置 model,则认为不用处理缓存逻辑 if (!$this->model) { return false; } return $this->model->needCache(); }