From 6c39ddc9acf241456913f6e4c2882df6a7688b5a Mon Sep 17 00:00:00 2001 From: Y!an Date: Tue, 20 Feb 2018 00:08:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=B7=BB=E5=8A=A0=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E6=A0=87=E9=A2=98=E5=92=8C=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plugin.php | 2 +- README.md | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Plugin.php b/Plugin.php index 89cdc0e..b4a8e46 100644 --- a/Plugin.php +++ b/Plugin.php @@ -74,7 +74,7 @@ class Comment2Wechat_Plugin implements Typecho_Plugin_Interface $sckey = $options->plugin('Comment2Wechat')->sckey; $text = "有人在您的博客发表了评论"; - $desp = "**".$comment['author']."** 在你的博客中说到:\n\n > ".$comment['text']; + $desp = "**".$comment['author']."** 在 [「".$post->title."」](".$post->permalink." \"".$post->title."\") 中说到: \n\n > ".$comment['text']; $postdata = http_build_query( array( diff --git a/README.md b/README.md index 3e206ae..9beb81b 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,14 @@ 3. 将你申请到的 `SCKEY` 填到插件设置里,保存即可 - ## 截图 +## 截图 -![微信截图](wechat.png) \ No newline at end of file +![微信截图](wechat.png) + +## 更新记录 + + - v1.1(180220) + - [+]消息添加文章标题和链接 + + - v1.0(160720) + - init