Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-micro
Commits
269b6902
Commit
269b6902
authored
Nov 05, 2020
by
周智鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加rpc 获取消息通道
parent
6d183ce6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
GetConnectModuleServiceInterface.php
...vice/Interfaces/Flow/GetConnectModuleServiceInterface.php
+15
-0
MessageServiceInterface.php
src/Service/Interfaces/MessageServiceInterface.php
+1
-1
No files found.
src/Service/Interfaces/Flow/GetConnectModuleServiceInterface.php
0 → 100644
View file @
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
src/Service/Interfaces/MessageServiceInterface.php
View file @
269b6902
...
@@ -55,7 +55,7 @@ interface MessageServiceInterface
...
@@ -55,7 +55,7 @@ interface MessageServiceInterface
* @param array $phone 电话号码 示例['175523181**','18621137***']
* @param array $phone 电话号码 示例['175523181**','18621137***']
* @param array $sign 签名 示例['花无缺OA系统',"花无缺OA系统"]
* @param array $sign 签名 示例['花无缺OA系统',"花无缺OA系统"]
* @param string $templateCode 模板code 1.取消订单通知 'SMS_205395200' 2.派单提醒 'SMS_205390191' 3.返工提醒 'SMS_205390196' 4.通知类型 'SMS_205134732'
* @param string $templateCode 模板code 1.取消订单通知 'SMS_205395200' 2.派单提醒 'SMS_205390191' 3.返工提醒 'SMS_205390196' 4.通知类型 'SMS_205134732'
* @param array $params 模板中替换的变量 示例传入格式:[['product'=>'A
SCXDDD1222'],['product'=>'SASD
23232']]
* @param array $params 模板中替换的变量 示例传入格式:[['product'=>'A
E1222'],['product'=>'Ab
23232']]
* @return bool
* @return bool
*/
*/
public
function
sendSms
(
array
$phone
,
array
$sign
,
string
$templateCode
,
array
$params
)
:
bool
;
public
function
sendSms
(
array
$phone
,
array
$sign
,
string
$templateCode
,
array
$params
)
:
bool
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment