This commit is contained in:
dongwei 2019-02-19 15:33:03 +08:00
parent 4ccbf42052
commit 481aa2b9a7

View File

@ -68,6 +68,7 @@ class JsonRpcTool
$view->share('data',json_encode($data));
$view->share('endpoint', $this->getEndpoint());
$view->share('methods', $methods);
$view->share('method', $method);
$view->share('params', json_encode($params, JSON_PRETTY_PRINT));
foreach ($methods as $name => $class) {