Commit dc449ce1 authored by 王源's avatar 王源 🎧

Merge remote-tracking branch 'origin/flow-rpc' into test

parents ba9a1358 269b6902
<?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,15 @@ interface MessageServiceInterface ...@@ -48,5 +48,15 @@ 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 array $phone 电话号码 示例['175523181**','18621137***']
* @param array $sign 签名 示例['花无缺OA系统',"花无缺OA系统"]
* @param string $templateCode 模板code 1.取消订单通知 'SMS_205395200' 2.派单提醒 'SMS_205390191' 3.返工提醒 'SMS_205390196' 4.通知类型 'SMS_205134732'
* @param array $params 模板中替换的变量 示例传入格式:[['product'=>'AE1222'],['product'=>'Ab23232']]
* @return bool
*/
public function sendSms(array $phone, array $sign, 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