mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
改进Db类 traits\Query 更改为 traits\Transaction
This commit is contained in:
2
library/think/cache/driver/Db.php
vendored
2
library/think/cache/driver/Db.php
vendored
@@ -46,7 +46,7 @@ class Db
|
||||
if (!empty($options)) {
|
||||
$this->options = array_merge($this->options, $options);
|
||||
}
|
||||
$this->handler = \Think\Db::instance();
|
||||
$this->handler = \Think\Db::connect();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user