"repositories": [
{
"type":"git",
"url":"git@git.100tal.com:jituan_xinxi_be/cicada-emde-contract.git"
}
]
composer require xxbe/cicada-emde-contract
在config/autoload/services.php
中增加:
return [
'consumers' => [
// 账号
[
'name' => 'AccountServiceInterface',
'service' => \Xxbe\CicadaEmdeContract\Contract\AccountServiceInterface::class,
'nodes' => [ ##nodesetting ]
],
// Yach部门
[
'name' => 'YachDeptServiceInterface',
'service' => \Xxbe\CicadaEmdeContract\Contract\YachDeptServiceInterface::class,
'nodes' => [ ##nodesetting ]
],
// EHR部门
[
'name' => 'MainDeptServiceInterface',
'service' => \Xxbe\CicadaEmdeContract\Contract\MainDeptServiceInterface::class,
'nodes' => [ ##nodesetting ]
],
],
];