mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 23:52:49 +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