Commit 7b4a8967 authored by 王源's avatar 王源 🎧

在注入 Redis 客户端时,使用 \Hyperf\Redis\Redis 来替代 \Redis

parent 903e38c9
......@@ -15,7 +15,8 @@
"hyperf/framework": "~1.1.0",
"hyperf/db-connection": "~1.1.0",
"hyperf/validation": "~1.1.0",
"hyperf/command": "~1.1.0"
"hyperf/command": "~1.1.0",
"hyperf/redis": "~1.1.0"
},
"minimum-stability": "dev",
"autoload": {
......
......@@ -3,6 +3,7 @@
use Hyperf\HttpServer\Contract\RequestInterface;
use Hyperf\HttpServer\Contract\ResponseInterface;
use Hyperf\Utils\ApplicationContext;
use Hyperf\Redis\Redis;
/**
* 容器实例
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment