修复UserService聚合契约命名空间与目录不一致
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\JsonRpcService\UserService;
|
||||
namespace Dhd\Micro\Interface\UserService;
|
||||
|
||||
interface AdminUserService extends
|
||||
\Dhd\Micro\Interface\UserService\JsonRpcInterface\admin\AdminUserServiceInterface,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* 用户中心服务
|
||||
*/
|
||||
|
||||
namespace App\JsonRpcService\UserService;
|
||||
namespace Dhd\Micro\Interface\UserService;
|
||||
|
||||
interface UserService extends
|
||||
\Dhd\Micro\Interface\UserService\JsonRpcInterface\user\LoginServiceInterface,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* 公共
|
||||
*/
|
||||
|
||||
namespace App\JsonRpcService\UserService;
|
||||
namespace Dhd\Micro\Interface\UserService;
|
||||
|
||||
interface WecheatMiniService extends
|
||||
\Dhd\Micro\Interface\UserService\JsonRpcInterface\wechat\WecheatMiniInterface {}
|
||||
|
||||
Reference in New Issue
Block a user