Commit 7fa227ed authored by fuyunnan's avatar fuyunnan

Merge remote-tracking branch 'origin/flow-rpc' into fuyunnan-dev-code

parents 2ee0e6ec 5eff2e6e
...@@ -17,15 +17,10 @@ interface DingUserServiceInterface ...@@ -17,15 +17,10 @@ interface DingUserServiceInterface
public function getByDingUserId($ding_user_id): array; public function getByDingUserId($ding_user_id): array;
/** /**
* 通过部门id获取部门分页用户列表 * 获取部门用户列表
* @param string $departmentId 部门id
* @param int $offset
* @param int $size
* @param string|null $order
* @param string|null $lang
* @return array * @return array
*/ */
public function getDepartmentUsers(string $departmentId, int $offset, int $size, string $order = null, string $lang = null): array; public function getDingUserLists(): array;
/** /**
* 通过临时授权码获取用户信息 * 通过临时授权码获取用户信息
......
<?php
namespace Meibuyu\Micro\Service\Interfaces\Flow;
interface GetConnectModuleServiceInterface
{
/**
*通过通道名称获取process_id
* @param string $channel 通道名
* @return mixed
*/
public function getConnectModule($channel);
}
\ No newline at end of file
...@@ -48,5 +48,14 @@ interface MessageServiceInterface ...@@ -48,5 +48,14 @@ interface MessageServiceInterface
* @param string $title * @param string $title
* @return bool * @return bool
*/ */
public function SendMarkDownMessage(array $receiveUserId, $application, $templateId = 0, $sendUserId = 0, $replace = [], $content = '',$title = ''): bool; public function SendMarkDownMessage(array $receiveUserId, $application, $templateId = 0, $sendUserId = 0, $replace = [], $content = '', $title = ''): bool;
/**
* 发送短信
* @param string $phone 电话号码 示例'175523181**'
* @param string $templateCode 模板code 1.取消订单通知 'SMS_205395200' 2.派单提醒 'SMS_205390191' 3.返工提醒 'SMS_205390196' 4.通知类型 'SMS_205134732'
* @param array $params 模板中替换的变量 示例传入格式:['product'=>'AE1222']
* @return bool
*/
public function sendSms(string $phone, string $templateCode, array $params): bool;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment