Revert c9272d5c1ef2a7ee9b244f4455f61fa3f93a5933...fcca206020c6d253702394e434fa487652c38d4d on 模板消息

1212e 2015-06-03 17:00:37 +08:00
parent fcca206020
commit 105a490f48

@ -73,9 +73,9 @@ $url = 'http://overtrue.me';
$color = '#FF0000';
$data = array(
"first" => "恭喜你购买成功!",
"keyword1" => "巧克力",
"keyword2" => "39.8元",
"keyword3" => "2014年9月16日",
"keynote1" => "巧克力",
"keynote2" => "39.8元",
"keynote3" => "2014年9月16日",
"remark" => "欢迎再次购买!",
);
@ -91,9 +91,9 @@ $messageId = $notice->uses($templateId)->withUrl($url)->andData($data)->andRecei
```php
$data = array(
"first" => "恭喜你购买成功!",
"keyword1" => "巧克力",
"keyword2" => "39.8元",
"keyword3" => "2014年9月16日",
"keynote1" => "巧克力",
"keynote2" => "39.8元",
"keynote3" => "2014年9月16日",
"remark" => "欢迎再次购买!",
);
```
@ -106,9 +106,9 @@ $messageId = $notice->uses($templateId)->withUrl($url)->andData($data)->andRecei
```php
$data = array(
"first" => array("恭喜你购买成功!", '#555555'),
"keyword1" => array("巧克力", "#336699"),
"keyword2" => array("39.8元", "#FF0000"),
"keyword3" => array("2014年9月16日", "#888888"),
"keynote1" => array("巧克力", "#336699"),
"keynote2" => array("39.8元", "#FF0000"),
"keynote3" => array("2014年9月16日", "#888888"),
"remark" => array("欢迎再次购买!", "#5599FF"),
);
```
@ -117,9 +117,9 @@ $messageId = $notice->uses($templateId)->withUrl($url)->andData($data)->andRecei
```php
$data = array(
"first" => array("value" => "恭喜你购买成功!", "color" => '#555555'),
"keyword1" => array("value" => "巧克力", "color" => "#336699"),
"keyword2" => array("value" => "39.8元","color" => "#FF0000"),
"keyword3" => array("value" => "2014年9月16日", "color" => "#888888"),
"keynote1" => array("value" => "巧克力", "color" => "#336699"),
"keynote2" => array("value" => "39.8元","color" => "#FF0000"),
"keynote3" => array("value" => "2014年9月16日", "color" => "#888888"),
"remark" => array("value" => "欢迎再次购买!", "color" => "#5599FF"),
);
```