
swoft 学习
繁夜
这个作者很懒,什么都没留下…
展开
-
swoft 学习之 踩坑笔记(二)
1.自定义 Debug 类class Debug{ //日志显示类型 const saveLogFile = true; //保存到文件 const viewOnConsole = true; //显示在控制台 /** * @param string $name 函数名 * @param array $arguments...原创 2020-05-19 14:18:51 · 802 阅读 · 0 评论 -
swoft 学习之 踩坑笔记
Redis 写入数组a.不开启自动序列化–> 读到的是一个字符串(“array”) vdump('0',$device); $result = $redis->set($tree, $device); vdump($device->get($tree)); CALL ON App\Tcp\Redis\RedisDeviceTree(74): strin...原创 2019-10-30 10:45:04 · 1769 阅读 · 0 评论 -
swoft 学习之 踩坑笔记(三)
1.数据库 实例自动生成root@7fc3c9aaefa4:/var/www/swoft# php bin/swoft entity:gen table -hUsage: bin/swoft entity:gen [arguments ...] [options ...]Global Options: --debug Setting the application runtime debug level(0 - 4) --no-color Disable原创 2020-05-20 12:02:52 · 632 阅读 · 0 评论