Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Commit 6c39ddc

Browse files
committed
消息添加文章标题和链接
1 parent 6a162b5 commit 6c39ddc

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static function sc_send($comment, $post)
7474
$sckey = $options->plugin('Comment2Wechat')->sckey;
7575

7676
$text = "有人在您的博客发表了评论";
77-
$desp = "**".$comment['author']."** 在你的博客中说到:\n\n > ".$comment['text'];
77+
$desp = "**".$comment['author']."** 在 [「".$post->title."」](".$post->permalink." \"".$post->title."\") 中说到: \n\n > ".$comment['text'];
7878

7979
$postdata = http_build_query(
8080
array(

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
3. 将你申请到的 `SCKEY` 填到插件设置里,保存即可
1313

1414

15-
## 截图
15+
## 截图
1616

17-
![微信截图](wechat.png)
17+
![微信截图](wechat.png)
18+
19+
## 更新记录
20+
21+
- v1.1(180220)
22+
- [+]消息添加文章标题和链接
23+
24+
- v1.0(160720)
25+
- init

0 commit comments

Comments
 (0)