From 105a490f48286ccb0fce0c22a3e3f1d2a01fd048 Mon Sep 17 00:00:00 2001 From: 1212e Date: Wed, 3 Jun 2015 17:00:37 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20c9272d5c1ef2a7ee9b244f4455f61fa3f93a59?= =?UTF-8?q?33...fcca206020c6d253702394e434fa487652c38d4d=20on=20=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 模板消息.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/模板消息.md b/模板消息.md index 561b2a5..e8f2dc2 100644 --- a/模板消息.md +++ b/模板消息.md @@ -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"), ); ```