This commit is contained in:
as2252258@163.com
2021-07-03 12:57:06 +08:00
parent 4096050303
commit d7b84a804d
3 changed files with 201 additions and 200 deletions
+4 -1
View File
@@ -174,7 +174,10 @@ class Connection extends Component
public function masterInstance(): PDO
{
return $this->connections()->get([
'cds' => $this->cds, 'username' => $this->username, 'password' => $this->password
'cds' => $this->cds,
'username' => $this->username,
'password' => $this->password,
'database' => $this->database
], true);
}