承接 yiovo/tp6-cache 相关项目开发
从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率
邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316
最新稳定版本:v1.0.5
Composer 安装命令:
composer require yiovo/tp6-cache
tp6-cache
thinkphp6 缓存类 (二次开发版)
Cache::ttl(string $name) 获取缓存剩余有效期(秒)
Cache::ttl(string $name)
Cache::update(string $name, $newVal, bool $isMerge = true) 更新缓存内容 (该方法区别于set方法,set方法不支持更新内容同时保留缓存剩余有效期)
Cache::update(string $name, $newVal, bool $isMerge = true)