mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
注释修正
This commit is contained in:
@@ -168,7 +168,7 @@ function validate($name = '', $layer = 'validate', $appendSuffix = false)
|
||||
* 实例化数据库类
|
||||
* @param string $name 操作的数据表名称(不含前缀)
|
||||
* @param array|string $config 数据库配置参数
|
||||
* @return \think\db\Connection
|
||||
* @return \think\db\Query
|
||||
*/
|
||||
function db($name = '', $config = [])
|
||||
{
|
||||
|
||||
@@ -18,8 +18,8 @@ use think\Config;
|
||||
use think\Db;
|
||||
use think\db\Builder;
|
||||
use think\db\Connection;
|
||||
use think\db\DbException;
|
||||
use think\Exception;
|
||||
use think\exception\DbException;
|
||||
use think\exception\PDOException;
|
||||
use think\db\exception\BindParamException;
|
||||
use think\db\exception\ModelNotFoundException;
|
||||
|
||||
Reference in New Issue
Block a user