官方webman-thinkcache组件报错

楚羽幽


这是think-cache组件不能用吗?用的官方webman-think-cache


使用use support\Cache;得话,就会报这个错,使用think/cache就没问题

881 1 0
1个回答

walkor

命名空间弄错了吧,think-cache 应该是 use think\facade\Cache; ,不是use support\Cache;

年代过于久远,无法发表回答
🔝