mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
统一命名空间规范
This commit is contained in:
@@ -34,7 +34,7 @@ abstract class Hprose
|
||||
}
|
||||
|
||||
//导入类库
|
||||
think\Loader::import('vendor.Hprose.HproseHttpServer');
|
||||
\think\Loader::import('vendor.Hprose.HproseHttpServer');
|
||||
//实例化HproseHttpServer
|
||||
$server = new \HproseHttpServer();
|
||||
if ($this->allowMethodList) {
|
||||
|
||||
@@ -28,7 +28,7 @@ abstract class Jsonrpc
|
||||
}
|
||||
|
||||
//导入类库
|
||||
think\Loader::import('vendor.jsonrpc.jsonRPCServer');
|
||||
\think\Loader::import('vendor.jsonrpc.jsonRPCServer');
|
||||
// 启动server
|
||||
\jsonRPCServer::handle($this);
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ abstract class Rpc
|
||||
}
|
||||
|
||||
//导入类库
|
||||
think\Loader::import('vendor.phprpc.phprpc_server');
|
||||
\think\Loader::import('vendor.phprpc.phprpc_server');
|
||||
//实例化phprpc
|
||||
$server = new \PHPRPC_Server();
|
||||
if ($this->allowMethodList) {
|
||||
|
||||
Reference in New Issue
Block a user