fix bug
This commit is contained in:
parent
4ccbf42052
commit
481aa2b9a7
|
@ -68,6 +68,7 @@ class JsonRpcTool
|
||||||
$view->share('data',json_encode($data));
|
$view->share('data',json_encode($data));
|
||||||
$view->share('endpoint', $this->getEndpoint());
|
$view->share('endpoint', $this->getEndpoint());
|
||||||
$view->share('methods', $methods);
|
$view->share('methods', $methods);
|
||||||
|
$view->share('method', $method);
|
||||||
$view->share('params', json_encode($params, JSON_PRETTY_PRINT));
|
$view->share('params', json_encode($params, JSON_PRETTY_PRINT));
|
||||||
|
|
||||||
foreach ($methods as $name => $class) {
|
foreach ($methods as $name => $class) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user