基于 swoole,redis,vue的在线im 在根目录下 composer install cd server php index.php //启动服务端 cd webroot npm install npm run dev //启用客户端