找到thinkphp的目录 thinkphp\Extend\Driver\Cache 下面的Redis 大概在81行足有
// if(is_int($expire)) { // redis写入不了 但是可以读取 把这行代码修改为下面的 就可以了
if( !empty($expire) && is_int($expire)) {
找到thinkphp的目录 thinkphp\Extend\Driver\Cache 下面的Redis 大概在81行足有
// if(is_int($expire)) { // redis写入不了 但是可以读取 把这行代码修改为下面的 就可以了
if( !empty($expire) && is_int($expire)) {
转载于:https://www.cnblogs.com/xinweiyun/p/7667581.html