diff --git a/framework/base/model.class.php b/framework/base/model.class.php index 9dec80362c..082b7737c9 100644 --- a/framework/base/model.class.php +++ b/framework/base/model.class.php @@ -123,6 +123,15 @@ class baseModel */ public $global; + /** + * $cache对象,用于访问缓存。 + * The $cache object, used to access the cache. + * + * @var object + * @access public + */ + public $cache; + /** * 构造方法。 * 1. 将全局变量设为model类的成员变量,方便model的派生类调用;