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
62a7bcc0
Commit
62a7bcc0
authored
Sep 10, 2020
by
fuyunnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新加邮件发送rpc
parent
701e94ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
MessageServiceInterface.php
src/Service/Interfaces/MessageServiceInterface.php
+15
-0
No files found.
src/Service/Interfaces/MessageServiceInterface.php
View file @
62a7bcc0
...
@@ -22,4 +22,19 @@ interface MessageServiceInterface
...
@@ -22,4 +22,19 @@ interface MessageServiceInterface
* @return bool
* @return bool
*/
*/
public
function
send
(
array
$receiveUserId
,
$application
,
$templateId
=
0
,
$sendUserId
=
0
,
$replace
=
[],
$content
=
''
)
:
bool
;
public
function
send
(
array
$receiveUserId
,
$application
,
$templateId
=
0
,
$sendUserId
=
0
,
$replace
=
[],
$content
=
''
)
:
bool
;
/**
* description:发送邮件
* author: fuyunnan
* @param array $userList ['111@qq.com','222@qq.com']
* @param string $subject 邮件标题
* @param string $body 邮件内容
* @return bool
* @throws
* Date: 2020/9/10
*/
public
function
sendMail
(
$userList
,
$subject
,
$body
)
:
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