助手函数cache()保存不到redis中,把配置改成file,就可以成功。
来源:7-6 短信验证码记录到redis中
慕村5515322
2021-02-20
配置文件cache,把驱动改成file,代码没问题,但是改成redis后,就报错:
{
"status": 0,
"message": "Call to undefined method Redis::sethGetAllex()",
"result": []
}
写回答
1回答
-
singwa
2021-02-22
你在全局配置的还是局部配置的?
012021-02-24
相似问题