mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-03 05:41:38 +08:00
改进数据库连接的问题
This commit is contained in:
@@ -23,7 +23,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
|
||||
// 数据库对象池
|
||||
private static $links = [];
|
||||
// 数据库配置
|
||||
protected static $connection;
|
||||
protected static $connection = [];
|
||||
// 数据表名称
|
||||
protected static $table;
|
||||
// 回调事件
|
||||
|
||||
Reference in New Issue
Block a user