优化文章seo声明;导出面板新增版权声明功能;

This commit is contained in:
2022-05-26 10:12:25 +08:00
parent efe2013a9c
commit 0284f6f2b8
6 changed files with 127 additions and 59 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace app\common\tools;
use think\facade\View;
class PostBlock
{
public static function copyright($model_post)
{
return View::fetch(__DIR__ . '/post_block/copyright.html', [
'post' => $model_post
]);
}
}