修复UserService聚合契约命名空间与目录不一致

This commit is contained in:
堂吉诃德拉曼查的英豪
2026-08-06 15:31:29 +08:00
parent 2e51c21753
commit 6a65ebc093
5 changed files with 5 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ return [
// 对应消费者类的 $serviceName
'name' => 'AdminUserService',
// 服务接口名,可选,默认值等于 name 配置的值,如果 name 直接定义为接口类则可忽略此行配置,如 name 为字符串则需要配置 service 对应到接口类
'service' => \App\JsonRpcService\UserService\AdminUserService::class,
'service' => \Dhd\Micro\Interface\UserService\AdminUserService::class,
// 服务提供者的服务协议,可选,默认值为 jsonrpc-http
// 可选 jsonrpc-http jsonrpc jsonrpc-tcp-length-check
'protocol' => 'jsonrpc-http',

View File

@@ -8,7 +8,7 @@ return [
// 对应消费者类的 $serviceName
'name' => 'UserService',
// 服务接口名,可选,默认值等于 name 配置的值,如果 name 直接定义为接口类则可忽略此行配置,如 name 为字符串则需要配置 service 对应到接口类
'service' => \App\JsonRpcService\UserService\UserService::class,
'service' => \Dhd\Micro\Interface\UserService\UserService::class,
// 服务提供者的服务协议,可选,默认值为 jsonrpc-http
// 可选 jsonrpc-http jsonrpc jsonrpc-tcp-length-check
'protocol' => 'jsonrpc-http',

View File

@@ -1,6 +1,6 @@
<?php
namespace App\JsonRpcService\UserService;
namespace Dhd\Micro\Interface\UserService;
interface AdminUserService extends
\Dhd\Micro\Interface\UserService\JsonRpcInterface\admin\AdminUserServiceInterface,

View File

@@ -4,7 +4,7 @@
* 用户中心服务
*/
namespace App\JsonRpcService\UserService;
namespace Dhd\Micro\Interface\UserService;
interface UserService extends
\Dhd\Micro\Interface\UserService\JsonRpcInterface\user\LoginServiceInterface,

View File

@@ -5,7 +5,7 @@
* 公共
*/
namespace App\JsonRpcService\UserService;
namespace Dhd\Micro\Interface\UserService;
interface WecheatMiniService extends
\Dhd\Micro\Interface\UserService\JsonRpcInterface\wechat\WecheatMiniInterface {}