logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

thinkphp6 swoole websocket长连接使用

安装swoole扩展composer require topthink/think-swoole配置swoole文件位置 config/swoole.php<?phpuse think\swoole\websocket\socketio\Handler;use think\swoole\websocket\socketio\Parser;return ['server'=> ['hos

#php#swoole#websocket
thinkphp6 定时任务

使用命令行形式实现定时任务一、创建一个自定义命令类文件php think make:command Hello hello会生成一个app\command\Hello命令行指令类,我们修改内容如下:<?phpdeclare (strict_types = 1);namespace app\command;use think\console\Command;use think\console\

#php#linux
到底了