改名
This commit is contained in:
@@ -52,7 +52,7 @@ class Dispatch
|
||||
*/
|
||||
public function dispatch(): mixed
|
||||
{
|
||||
return \aop($this->handler, ...func_get_args());
|
||||
return \aop($this->handler, ...$this->request);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ class Node extends HttpService
|
||||
public function createDispatch(): Closure
|
||||
{
|
||||
return function () {
|
||||
return Dispatch::create($this->handler, func_get_args())->dispatch();
|
||||
return Dispatch::create($this->handler, ...func_get_args())->dispatch();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ defined('CLIENT_PATH') or define('CLIENT_PATH', APP_PATH . 'app/Client/');
|
||||
defined('TASK_PATH') or define('TASK_PATH', APP_PATH . 'app/Async/');
|
||||
defined('LISTENER_PATH') or define('LISTENER_PATH', APP_PATH . 'app/Listener/');
|
||||
defined('KAFKA_PATH') or define('KAFKA_PATH', APP_PATH . 'app/Kafka/');
|
||||
defined('RPC_SERVICE_PATH') or define('RPC_SERVICE_PATH', APP_PATH . 'app/Http/Rpc/');
|
||||
defined('RPC_CLIENT_PATH') or define('RPC_CLIENT_PATH', APP_PATH . 'app/Client/Rpc/');
|
||||
defined('MODEL_PATH') or define('MODEL_PATH', APP_PATH . 'app/Models/');
|
||||
defined('SOCKET_PATH') or define('SOCKET_PATH', APP_PATH . 'app/Websocket/');
|
||||
|
||||
Reference in New Issue
Block a user