Commit 14926dd2 by feixiang

公众号发送消息

parent 0e20fd14
...@@ -61,7 +61,7 @@ interface NoticeInterface ...@@ -61,7 +61,7 @@ interface NoticeInterface
* *
* 微信公众号发送实例 * 微信公众号发送实例
$data[NoticeEnum::TYPE_MP_SEND] = [ $data[NoticeEnum::TYPE_MP_SEND] = [
'touser' => 'o3lFcs8xoWfQUlhzTiP5uZI6A7Hc', //这里要填写公众号的openId 'unionId' => 'o3lFcs8xoWfQUlhzTiP5uZI6A7Hc', //填写用户的unionId
'template_id' => 'zwUBuoKVRJkumLwGkippA46XfmLsmwJD906HC-wqOks', 'template_id' => 'zwUBuoKVRJkumLwGkippA46XfmLsmwJD906HC-wqOks',
'miniprogram' => [ 'miniprogram' => [
'appid' => 'wx3b3b2df942634cdd', //小程序appid 'appid' => 'wx3b3b2df942634cdd', //小程序appid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment