gatewayworkman 使用了think-orm查询的数据不能cache

567

问题描述

gatewayworkman 使用了think-orm 和think-cache 发现 查询的数据不能cache

查看缓存的时候没有缓存
数据库配置文件 debug =false

这里写描述
截图

操作系统环境及workerman/webman等具体版本

    "workerman/gateway-worker" : ">=3.0.0",
    "topthink/think-orm": "^2.0",
    "workerman/gatewayclient": "^3.0",
    "topthink/think-cache": "^2.0",
271 1 0
1个回答

567

解决了 DB::setCache()

  • 暂无评论
🔝