Commit a94096bb authored by 王源's avatar 王源
Browse files

Merge branch 'v1.0.5' into 'master'

飞书rpc接口

See merge request without_auth/meibuyu-rpc!1
parents 46dfe8d4 78ba6857
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
<?php

namespace  Meibuyu\Rpc\Service\Interfaces\FeiShu;

interface FeiShuMessageServiceInterface
{
    /**
     * Notes: 批量发送消息
     * User: carlos
     * DateTime: 2021/12/15 17:31
     * @param array $userIds
     * @param string $template
     * @param array $data
     * @return mixed
     */
    public function batchSendMsg(array $userIds, string $template, array $data);
}
 No newline at end of file
+23 −0
Original line number Diff line number Diff line
<?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();
}
 No newline at end of file