| Total Complexity | 2 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class DimissionClient extends BaseClient |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * 获取离职成员的客户列表 |
||
| 18 | * @link https://work.weixin.qq.com/api/doc#90000/90135/91563 |
||
| 19 | * |
||
| 20 | * @param int $pageId |
||
| 21 | * @param int $pageSize |
||
| 22 | * @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string |
||
| 23 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
||
| 24 | */ |
||
| 25 | public function getUnassignedList(int $pageId = 0, int $pageSize = 1000) |
||
| 30 | ]); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * 离职成员的外部联系人再分配 |
||
| 35 | * @link https://work.weixin.qq.com/api/doc#90000/90135/91564 |
||
| 36 | * |
||
| 37 | * @param string $externalUserId |
||
| 38 | * @param string $handoverUserId |
||
| 39 | * @param string $takeoverUserId |
||
| 40 | * @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string |
||
| 41 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
||
| 42 | */ |
||
| 43 | public function transfer(string $externalUserId, string $handoverUserId, string $takeoverUserId) |
||
| 55 | } |