FeiShuUserServiceInterface.php 897 Bytes
Newer Older
carlos's avatar
carlos committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php

namespace  Meibuyu\Rpc\Service\Interfaces\FeiShu;

Interface FeiShuUserServiceInterface
{
    /**
     * Notes: 通过手机号码 获取飞书用户ID
     * User: carlos
     * DateTime: 2021/12/15 13:50
     * @param string $phone
     * @return mixed
     */
    public function getUserIdByPhone(array $phone);

    /**
     * Notes: 获取部门用户
     * User: carlos
     * DateTime: 2021/12/15 13:51
     * @return mixed
     */
    public function getUserList();
gongyuanbiao's avatar
gongyuanbiao committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

    /**
     * Notes:通过临时Code获取用户信息(用于飞书扫码登录第三方应用)
     * User: carlos
     * DateTime: 2021/12/20 9:31
     * @param string $code
     * @return mixed
     */
    public function getUserByCode(string $code);

    /**
     * Notes: 获取飞书应用id
     * User: carlos
     * DateTime: 2021/12/20 9:32
     * @return mixed
     */
    public function getAppId();
carlos's avatar
carlos committed
40
}