![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Thinkphp5
蜗牛他大大哥
蜗牛他大哥私人领地
展开
-
thinkphp5 redis使用
参数参考位置:thinkphp\library\think\cache\driverclass Redis extends Driver{ protected $options = [ 'host' => '127.0.0.1', 'port' => 6379, 'password' =>...原创 2018-07-30 15:54:33 · 3201 阅读 · 0 评论 -
Thinkphp redis 并发
Thinkphp5.0数据库tp5_goods字段:id,stocktp5_goods_user字段:id,pid,name php代码如下<?phpnamespace app\index\controller;use think\Controller;use think\Model;use think\Cache;use think\cache\dri...原创 2018-07-30 15:59:29 · 746 阅读 · 0 评论 -
Thinkphp5笔记二:创建模块
Thinkphp5笔记二:php项目部署原创 2018-07-13 18:10:46 · 175 阅读 · 0 评论 -
Thinkphp5复合缓存 与db报错
症状:开启了复合缓存file、redis。在使用db查询的时候报错 'cache' => [ // 使用复合缓存类型 'type' => 'complex', // 默认使用的缓存 'default' => [ // 驱动方式 'type' =...原创 2018-07-30 15:51:07 · 525 阅读 · 0 评论 -
Thinkphp 队列 并发
php代码如下<?phpnamespace app\index\controller;use think\Controller;use think\Model;use think\Cache;use think\cache\driver\Redis;use think\Session;use think\Db;class Index extends Controll...原创 2018-07-30 16:02:49 · 3935 阅读 · 1 评论