Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
75162a42
Commit
75162a42
authored
Oct 09, 2018
by
feixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息发送扩展注释
parent
b37ba760
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
src/Notice/Extensions/Notice/MiniFrontendSender.php
+24
-0
No files found.
src/Notice/Extensions/Notice/MiniFrontendSender.php
View file @
75162a42
...
...
@@ -10,6 +10,10 @@ namespace Hdll\Services\Notice\Extensions\Notice;
use
Hdll\Services\Notice\Common\WxMiniNotice
;
use
Hdll\Services\Notice\Enum\NoticeEnum
;
/**
* Class MiniFrontendSender
* @package Hdll\Services\Notice\Extensions\Notice
*/
class
MiniFrontendSender
implements
SenderInterface
{
...
...
@@ -25,6 +29,26 @@ class MiniFrontendSender implements SenderInterface
private
$template
;
/**
*
* $send = new MiniFrontendSender( ['id' => 1, 'storeId' => 198],
* [
* 'page' => 'pages/orderShow/orderShow',
* 'param' => ['orderId' => 1, 'storeId' => 168]
* ],
* [
* 1 => 'aaaaaaa',
* 2 => 'msg',
* 3 => '您好,您申请的退款不符合条件被拒绝',
* ],
* 'jcqYc-gHjkv-T8pDW8wjYFha0TKzCJTV3yNeGY3JW-0'
* );
* MiniFrontendSender constructor.
* @param array $user
* @param array $page
* @param array $sendData
* @param string $template
*/
public
function
__construct
(
array
$user
,
array
$page
,
array
$sendData
,
string
$template
)
{
$this
->
user
=
$user
;
...
...
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