This commit is contained in:
as2252258@163.com
2021-08-09 00:15:03 +08:00
parent 8c74ed4d00
commit 94a9184bf0
8 changed files with 705 additions and 804 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ class Connection extends Component
*/
private function connections(): \Snowflake\Pool\Connection
{
return Snowflake::app()->getMysqlFromPool();
return Snowflake::getDi()->get(\Snowflake\Pool\Connection::class);
}