function __construct()
{
$database = [
'database_type' => 'mysql',
'database_name' => 'test',
'server' => '192.168.2.234',
'username' => 'root',
'password' => '123456',
'prefix' =>'tt_',//表前缀
'port' =>'12345' ,
'charset' =>'utf8' #添加charset设置即可
];
parent::__construct($database);
}