Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-rpc
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
0
Merge Requests
0
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-rpc
Commits
a8f4b8ff
Commit
a8f4b8ff
authored
Jul 20, 2020
by
jiangkebao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加自定义消息
parent
57204a25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
MessageServiceInterface.php
src/Service/Interfaces/MessageServiceInterface.php
+4
-2
No files found.
src/Service/Interfaces/MessageServiceInterface.php
View file @
a8f4b8ff
...
...
@@ -16,8 +16,10 @@ interface MessageServiceInterface
* @param array $receiveUserId 接收人id
* @param string $application 应用名称
* @param int $sendUserId 发送人id(发送人id等于0时是系统消息)
* @param int $templateId 模板id
* @param int $templateId 模板id
(等于0时直接使用content内容)
* @param array $replace 替换模板内容
* @param string $content 自定义消息内容
* @return bool
*/
public
function
send
(
array
$receiveUserId
,
$application
,
$templateId
,
$sendUserId
=
0
,
$replace
=
[]
)
:
bool
;
public
function
send
(
array
$receiveUserId
,
$application
,
$templateId
=
0
,
$sendUserId
=
0
,
$replace
=
[],
$content
=
''
)
:
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