update
This commit is contained in:
@@ -8,7 +8,7 @@ return [
|
||||
// 对应消费者类的 $serviceName
|
||||
'name' => 'CourseService',
|
||||
// 服务接口名,可选,默认值等于 name 配置的值,如果 name 直接定义为接口类则可忽略此行配置,如 name 为字符串则需要配置 service 对应到接口类
|
||||
'service' => \Dhd\Micro\CourseService\CourseService::class,
|
||||
'service' => \Dhd\Micro\Interface\CourseService\CourseService::class,
|
||||
// 对应容器对象 ID,可选,默认值等于 service 配置的值,用来定义依赖注入的 key
|
||||
// 'id' => \App\JsonRpc\File\FileServiceInterface::class,
|
||||
// 服务提供者的服务协议,可选,默认值为 jsonrpc-http
|
||||
|
||||
Reference in New Issue
Block a user