错误修复

This commit is contained in:
2026-08-10 14:04:28 +08:00
parent 84a118b5ea
commit a5366fda86
5 changed files with 2 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
<?php
use Dhd\Micro\Interface\ArticleService\ArticleService;
use function Hyperf\Support\env;
return [
// 对应消费者类的 $serviceName

View File

@@ -1,7 +1,6 @@
<?php
use Dhd\Micro\Interface\ExamService\ExamService;
use function Hyperf\Support\env;
return [
// 对应消费者类的 $serviceName

View File

@@ -8,7 +8,7 @@ return [
// 对应消费者类的 $serviceName
'name' => '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

View File

@@ -1,7 +1,6 @@
<?php
use Dhd\Micro\Interface\NoticeService\NoticeService;
use function Hyperf\Support\env;
return [
// 对应消费者类的 $serviceName

View File

@@ -8,7 +8,7 @@ return [
// 对应消费者类的 $serviceName
'name' => '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',