Browse Source

修复bug

master
ubuntu20 4 years ago
parent
commit
ce62dc85a9
  1. 2
      src/RpcServer.php

2
src/RpcServer.php

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

Loading…
Cancel
Save