• 2024-12-07swoole协程curl请求方法
    functionswoole_http_get($urls){$result=[];\Yurun\Util\YurunHttp::setDefaultHandler(\Yurun\Util\YurunHttp\Handler\Swoole::class);$scheduler=new\Swoole\Coroutine\Scheduler();foreach($urlsas$url){$scheduler-&