Commit 6d183ce6 authored by 周智鹏's avatar 周智鹏

添加短信RPC

parent e591c267
...@@ -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'=>'ASCXDDD1222'],['product'=>'SASD23232']]
* @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