|
@ -60,7 +60,7 @@ class RpcServer extends BaseService { |
|
|
$_SERVER['data'] = $data; |
|
|
$_SERVER['data'] = $data; |
|
|
try { |
|
|
try { |
|
|
$ret = include $this->entryPoint; |
|
|
$ret = include $this->entryPoint; |
|
|
$this->send($fd, $data); |
|
|
|
|
|
|
|
|
$this->send($fd, $ret); |
|
|
} catch (\Error $e) { |
|
|
} catch (\Error $e) { |
|
|
//TODO 记录日志
|
|
|
//TODO 记录日志
|
|
|
echo "YeeError: ".$e->getMessage(); |
|
|
echo "YeeError: ".$e->getMessage(); |
|
|