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
2b1aae1f
Commit
2b1aae1f
authored
Nov 09, 2020
by
王源
🎧
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
269b6902
'
parents
ad5aed1e
269b6902
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
GetConnectModuleServiceInterface.php
...vice/Interfaces/Flow/GetConnectModuleServiceInterface.php
+15
-0
MessageServiceInterface.php
src/Service/Interfaces/MessageServiceInterface.php
+11
-1
No files found.
src/Service/Interfaces/Flow/GetConnectModuleServiceInterface.php
0 → 100644
View file @
2b1aae1f
<?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 @
2b1aae1f
...
@@ -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
;
}
}
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