代码用了好几年都正常,最近换了新服务器,发现php server.php start -d 代码经常有问题,Gateway::isUidOnline经常不准确,在线也提示不在线,使用php server.php start就正常