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

9
namespace Meibuyu\Rpc\Service\Interfaces\Message\DingTalk;
jiangkebao's avatar
jiangkebao committed
10 11 12

interface DingDepartmentServiceInterface
{
jiangkebao's avatar
jiangkebao committed
13 14 15 16 17 18 19
    /**
     * 获取部门列表
     * @param null $id 部门id
     * @param bool $isFetchChild 是否获取子部门
     * @param null $lang
     * @return array
     */
jiangkebao's avatar
jiangkebao committed
20 21
    public function getDepartmentList($id = null, $isFetchChild = false, $lang = null): array;
}