@ -59,10 +59,8 @@ class RpcServer extends BaseService {
public function handle(int $fd, string $data) {
$_SERVER['data'] = $data;
try {
//$ret = include $this->entryPoint;
echo $data."\n";
$ret = "sa";
$this->send($fd, $ret);
$ret = include $this->entryPoint;
$this->send($fd, $data);
} catch (\Error $e) {
//TODO 记录日志
echo "YeeError: ".$e->getMessage();