This commit is contained in:
61
app/JsonRpc/DeptServiceInterface.php
Normal file
61
app/JsonRpc/DeptServiceInterface.php
Normal file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/**
|
||||
* Author: ykxiao
|
||||
* Date: 2025/7/14
|
||||
* Time: 下午2:04
|
||||
* Description:
|
||||
*
|
||||
* (c) ykxiao <yk_9001@hotmail.com>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\JsonRpc;
|
||||
|
||||
interface DeptServiceInterface
|
||||
{
|
||||
/**
|
||||
* @Desc 新增部门
|
||||
* @param array $data
|
||||
* @return array
|
||||
*/
|
||||
public function addDept(array $data): array;
|
||||
|
||||
/**
|
||||
* @Desc 删除部门
|
||||
* @param array $params
|
||||
* @return array
|
||||
*/
|
||||
public function delDept(array $params): array;
|
||||
|
||||
/**
|
||||
* @Desc 获取部门信息
|
||||
* @param array $params
|
||||
* @return array
|
||||
*/
|
||||
public function getDeptInfo(array $params = []): array;
|
||||
|
||||
/**
|
||||
* @Desc 获取部门列表
|
||||
* @param array $params
|
||||
* @return array
|
||||
*/
|
||||
public function deptList(array $params = []): array;
|
||||
|
||||
/**
|
||||
* @Desc 获取活动的部门列表
|
||||
* @param array $params
|
||||
* @return array
|
||||
*/
|
||||
public function getActiveDeptList(array $params = []): array;
|
||||
|
||||
/**
|
||||
* @Desc 修改部门状态
|
||||
* @param array $data
|
||||
* @return array
|
||||
*/
|
||||
public function updateDeptStatus(array $data): array;
|
||||
}
|
Reference in New Issue
Block a user