feat: 开始平台导出查询

This commit is contained in:
augushong
2025-05-05 10:59:21 +08:00
parent 669c7c3b77
commit bf2af3a4b7
5 changed files with 159 additions and 27 deletions

View File

@@ -14,6 +14,7 @@
use app\model\Admin;
use app\model\AdminPermission;
use app\model\Nav;
use app\model\SystemConfig;
use app\model\UploadFiles;
use League\Flysystem\Util\MimeType;
@@ -317,3 +318,8 @@ function show_time_ago($timestamp)
return $result;
}
function list_post_platform()
{
return Nav::where('type', 12)->order('sort asc')->cache(30)->select();
}