mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-03 05:52:48 +08:00
修正Model类一处connection判断
This commit is contained in:
@@ -102,7 +102,7 @@ class Model {
|
||||
// 数据库初始化操作
|
||||
// 获取数据库操作对象
|
||||
// 当前模型有独立的数据库连接信息
|
||||
$this->db(0,empty($this->connection)?$connection:$this->connection);
|
||||
$this->db(0,$this->connection);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user