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
6d183ce6
Commit
6d183ce6
authored
Oct 30, 2020
by
周智鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加短信RPC
parent
e591c267
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
MessageServiceInterface.php
src/Service/Interfaces/MessageServiceInterface.php
+11
-1
No files found.
src/Service/Interfaces/MessageServiceInterface.php
View file @
6d183ce6
...
...
@@ -48,5 +48,15 @@ interface MessageServiceInterface
* @param string $title
* @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
;
}
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