ThinkPHP 5.1 缓存的创建与读取
要引入:use think\facade\Cache;
创建缓存:$rs = cache('comment_confing',$data);
读取缓存:var_dump(cache('comment_confing'));
ThinkPHP 5.1 缓存的创建与读取
ThinkPHP 5.1 缓存的创建与读取
要引入:use think\facade\Cache;
创建缓存:$rs = cache('comment_confing',$data);
读取缓存:var_dump(cache('comment_confing'));