mirror of
https://github.com/w7corp/easywechat.git
synced 2025-01-22 11:32:08 +00:00
Revert 8a6f291^...8a6f291 on 模板消息
parent
8a6f29129a
commit
6c8991bc23
10
模板消息.md
10
模板消息.md
@ -105,11 +105,11 @@ $messageId = $notice->uses($templateId)->withUrl($url)->andData($data)->andRecei
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
$data = array(
|
$data = array(
|
||||||
"first" => array("恭喜你购买成功!" => '#555555'),
|
"first" => array("恭喜你购买成功!", '#555555'),
|
||||||
"keynote1" => array("巧克力" => "#336699"),
|
"keynote1" => array("巧克力", "#336699"),
|
||||||
"keynote2" => array("39.8元" => "#FF0000"),
|
"keynote2" => array("39.8元", "#FF0000"),
|
||||||
"keynote3" => array("2014年9月16日" => "#888888"),
|
"keynote3" => array("2014年9月16日", "#888888"),
|
||||||
"remark" => array("欢迎再次购买!" => "#5599FF"),
|
"remark" => array("欢迎再次购买!", "#5599FF"),
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
+ 复杂型(也是微信官方唯一支持的方式,估计没有人想这么用):
|
+ 复杂型(也是微信官方唯一支持的方式,估计没有人想这么用):
|
||||||
|
Loading…
Reference in New Issue
Block a user