提交 d5c4dd2a authored 作者: zhanrongzhen's avatar zhanrongzhen

修复attributes的属性没有问题

上级 69681535
...@@ -96,7 +96,8 @@ http { ...@@ -96,7 +96,8 @@ http {
if value then if value then
break break
end end
if lfs.attributes(filepath) then attributes, err = lfs.attributes(filepath)
if attributes then
cache:set(key, true, 600) -- 缓存600秒 cache:set(key, true, 600) -- 缓存600秒
break break
end end
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论