增加部门管理接口
Some checks failed
Build Docker / build (push) Has been cancelled

This commit is contained in:
2025-07-14 14:37:32 +08:00
parent 58c8eecf88
commit 0567eda8ca
7 changed files with 339 additions and 1 deletions

View File

@ -10,6 +10,8 @@ declare(strict_types=1);
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
use App\JsonRpc\DeptServiceConsumer;
use App\JsonRpc\DeptServiceInterface;
use App\JsonRpc\EasyAppServiceConsumer;
use App\JsonRpc\EasyAppServiceInterface;
use App\JsonRpc\InventoryServiceConsumer;
@ -27,4 +29,5 @@ return [
EasyAppServiceInterface::class => EasyAppServiceConsumer::class,
InventoryServiceInterface::class => InventoryServiceConsumer::class,
RoleServiceInterface::class => RoleServiceConsumer::class,
DeptServiceInterface::class => DeptServiceConsumer::class,
];

View File

@ -11,6 +11,7 @@ declare(strict_types=1);
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
use App\JsonRpc\DeptServiceInterface;
use App\JsonRpc\EasyAppServiceInterface;
use App\JsonRpc\InventoryServiceInterface;
use App\JsonRpc\RoleServiceInterface;
@ -24,7 +25,8 @@ return [
'UserAuthService' => UserAuthServiceInterface::class,
'EasyAppService' => EasyAppServiceInterface::class,
'InventoryService' => InventoryServiceInterface::class,
'RoleService' => RoleServiceInterface::class,
'RoleService' => RoleServiceInterface::class,
'DeptService' => DeptServiceInterface::class,
];
foreach ($services as $name => $interface) {
$consumers[] = [