DingDepartmentServiceInterface.php 646 Bytes
Newer Older
jiangkebao's avatar
jiangkebao committed
1 2 3 4 5 6 7 8 9 10
<?php
/**
 * Created by PhpStorm.
 * User: 姜克保
 * Date: 2020/5/20
 * Time: 15:48
 */

namespace Meibuyu\Micro\Service\Interfaces\DingTalk;

王源's avatar
王源 committed
11 12 13 14
/**
 * @deprecated 此接口废弃,在之后的版本会被删除
 * 请引入meibuyu/rpc组件,使用Meibuyu\Rpc\Service\Interfaces\Message\DingTalk\DingDepartmentServiceInterface
 */
jiangkebao's avatar
jiangkebao committed
15 16
interface DingDepartmentServiceInterface
{
jiangkebao's avatar
jiangkebao committed
17 18 19 20 21 22 23
    /**
     * 获取部门列表
     * @param null $id 部门id
     * @param bool $isFetchChild 是否获取子部门
     * @param null $lang
     * @return array
     */
jiangkebao's avatar
jiangkebao committed
24 25
    public function getDepartmentList($id = null, $isFetchChild = false, $lang = null): array;
}