Skip to content

Commit 2ef2461

Browse files
committed
feat: release and update doc
1 parent 73116de commit 2ef2461

File tree

18 files changed

+3810
-13
lines changed

18 files changed

+3810
-13
lines changed

module/Blog/Api/Controller/MessageController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function paginate()
4545
]);
4646
}
4747

48+
4849
public function add()
4950
{
5051
$input = InputPackage::buildFromInput();

module/Blog/Api/routes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
$router->match(['post'], 'blog/comment/add', 'CommentController@add');
1515

1616
$router->match(['post'], 'blog/message/paginate', 'MessageController@paginate');
17+
$router->match(['post'], 'blog/message/add', 'MessageController@add');
1718

1819
});

module/Blog/Docs/release.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## 2.1.0
22

3+
- 新增:博客留言新增接口
34
- 优化:博客首页轮播位置动态注册(需要后台重新设置博客首页轮播图片)
5+
- 修复:博客留言接口提交异常的问题
46

57
---
68

module/Blog/config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"Banner",
77
"Vendor:>=1.1.0"
88
],
9+
"env": [
10+
"laravel5",
11+
"laravel9"
12+
],
913
"version": "2.0.0",
1014
"author": "ModStart",
1115
"description": "提供一个基础的博客系统",

module/Vendor/Docs/release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
- 新增:安装向导文件禁用函数处理方法
44
- 新增:魔众文档转图片异步转换接口
5+
- 新增:内容审核提供者新增内容链接
56

67
---
78

module/Vendor/Provider/ContentVerify/AbstractContentVerifyProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function run($param, $title = null, $body = null)
5959
$shortTitle = $this->title() . ($shortTitle ? '(' . $shortTitle . ')' : '');
6060
if ($this->verifyAutoProcess($param)) {
6161
if ($this->verifyAutoProcessedNotify()) {
62-
NotifierProvider::notify($this->name(), '[自动审核]' . $shortTitle, $body);
62+
NotifierProvider::notify($this->name(), '[自动审核]' . $shortTitle, $body, $param);
6363
}
6464
return;
6565
}

module/Vendor/Provider/ContentVerify/ContentVerifyJob.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class ContentVerifyJob extends BaseJob
1313
public $body;
1414
public $param;
1515

16+
1617
public static function create($name, $param, $title, $body = null)
1718
{
1819
$job = new static();

module/Vendor/Provider/Notifier/NotifierProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ public static function notify($biz, $title, $content, $param = [])
3434
}
3535
}
3636

37-
public static function notifyProcess($biz, $title, $content, $processUrl)
37+
public static function notifyProcess($biz, $title, $content, $processUrl, $processUrlParam = [])
3838
{
39-
self::notify($biz, $title, $content, [
39+
self::notify($biz, $title, $content, array_merge($processUrlParam, [
4040
'processUrl' => $processUrl,
41-
]);
41+
]));
4242
}
4343

4444
public static function notifyNoneLoginOperateProcessUrl($biz, $title, $content, $processUrlPath, $processUrlParam = [])

public/asset/common/editor.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/asset/vendor/ueditor/ueditor.all.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)