diff --git a/consumers/article_service.php b/consumers/article_service.php index 89eec7c..56400b6 100644 --- a/consumers/article_service.php +++ b/consumers/article_service.php @@ -1,7 +1,6 @@ 'FileService', // 服务接口名,可选,默认值等于 name 配置的值,如果 name 直接定义为接口类则可忽略此行配置,如 name 为字符串则需要配置 service 对应到接口类 - 'service' => \Dhd\Micro\Interface\FileService\FileServiceInterface::class, + 'service' => \Dhd\Micro\Interface\FileService\FileService::class, // 对应容器对象 ID,可选,默认值等于 service 配置的值,用来定义依赖注入的 key // 'id' => \Dhd\Micro\Interface\FileService\FileServiceInterface::class, // 服务提供者的服务协议,可选,默认值为 jsonrpc-http diff --git a/consumers/notice_service.php b/consumers/notice_service.php index 2a8a529..3c4c4ff 100644 --- a/consumers/notice_service.php +++ b/consumers/notice_service.php @@ -1,7 +1,6 @@ 'WecheatMiniService', // 服务接口名,可选,默认值等于 name 配置的值,如果 name 直接定义为接口类则可忽略此行配置,如 name 为字符串则需要配置 service 对应到接口类 - 'service' => \App\JsonRpcService\UserService\WecheatMiniService::class, + 'service' => \Dhd\Micro\Interface\UserService\WecheatMiniService::class, // 服务提供者的服务协议,可选,默认值为 jsonrpc-http // 可选 jsonrpc-http jsonrpc jsonrpc-tcp-length-check 'protocol' => 'jsonrpc-http',