This commit is contained in:
2020-09-03 11:39:20 +08:00
parent 274332207b
commit efbb049824
42 changed files with 101 additions and 101 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ class Pool extends \Snowflake\Abstracts\Pool
*/
public function getRedis()
{
return Snowflake::get()->redis_connections;
return Snowflake::app()->redis_connections;
}
/**
@@ -28,7 +28,7 @@ class Pool extends \Snowflake\Abstracts\Pool
*/
public function getDb()
{
return Snowflake::get()->connections;
return Snowflake::app()->connections;
}
}