新建了一個(gè)woker專門跑定時(shí)任務(wù) <?php use \Workerman\Worker; use \Workerman\Lib\BaseJson; use \Workerman\Lib\Timer; use \Workerman\Connection\AsyncTcpConnection; // 自動(dòng)加載類 require_once __DIR__ . '/../../Workerman/Autoload...