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
20d82bc9
Commit
20d82bc9
authored
Sep 11, 2018
by
feixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通知消息枚举
parent
c441abd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
src/Notice/Lib/NoticeInterface.php
+19
-0
No files found.
src/Notice/Lib/NoticeInterface.php
View file @
20d82bc9
...
...
@@ -58,6 +58,25 @@ interface NoticeInterface
]
];
*
* 微信公众号发送实例
$data[NoticeEnum::TYPE_MP_SEND] = [
'touser' => 'o3lFcs8xoWfQUlhzTiP5uZI6A7Hc', //这里要填写公众号的openId
'template_id' => 'zwUBuoKVRJkumLwGkippA46XfmLsmwJD906HC-wqOks',
'miniprogram' => [
'appid' => 'wx3b3b2df942634cdd', //小程序appid
'pagepath' => 'pages/start/start'//小程序页面
],
'data' => [
'first' => 'first',
'keyword1' => '姓名',
'keyword2' => '1213456',
'keyword3' => '测试门店',
'keyword4' => '门店地址',
'keyword5' => 'test',
'remark' => 'remark'
]
];
*
* @param array $sendTypes
* @param array $data
* @param int $sendTime //发送时间,立即返送填0
...
...
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