+ baseModel: add cache variable.

This commit is contained in:
liugang
2024-04-26 16:35:22 +08:00
parent 210f49ad5e
commit b74bf1146d
+9
View File
@@ -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的派生类调用;