Commit 8a7e9eb0 by 杨树贤

修改缓存时间

parent df6e2bfc
Showing with 1 additions and 1 deletions
......@@ -56,7 +56,7 @@ class IntracodeModel extends Model
}
}
$redis->set('EncodedList_all_supplier', json_encode($codeList));
$redis->expire('EncodedList_all_supplier', 60 * 10);//缓存10分钟
$redis->expire('EncodedList_all_supplier', 60);//缓存10分钟
}
}
return $codeList;
......
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 sign in to comment