mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
优化文章seo声明;导出面板新增版权声明功能;
This commit is contained in:
16
app/common/tools/PostBlock.php
Normal file
16
app/common/tools/PostBlock.php
Normal 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
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user