Commit 7b4a8967 authored by 王源's avatar 王源
Browse files

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

parent 903e38c9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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": {
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
use Hyperf\HttpServer\Contract\RequestInterface;
use Hyperf\HttpServer\Contract\ResponseInterface;
use Hyperf\Utils\ApplicationContext;
use Hyperf\Redis\Redis;

/**
 * 容器实例