在注入 Redis 客户端时,使用 \Hyperf\Redis\Redis 来替代 \Redis
Showing
... | @@ -15,7 +15,8 @@ | ... | @@ -15,7 +15,8 @@ |
"hyperf/framework": "~1.1.0", | "hyperf/framework": "~1.1.0", | ||
"hyperf/db-connection": "~1.1.0", | "hyperf/db-connection": "~1.1.0", | ||
"hyperf/validation": "~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", | "minimum-stability": "dev", | ||
"autoload": { | "autoload": { | ||
... | ... |
Please register or sign in to comment