feat: 优化三方平台加载

This commit is contained in:
augushong
2025-10-04 10:51:10 +08:00
parent bfe89fcdef
commit 9a0bd9b2b0
4 changed files with 7 additions and 7 deletions

View File

@@ -321,7 +321,7 @@ function show_time_ago($timestamp)
function list_post_platform()
{
$list = Nav::where('type', 12)->order('sort asc')->cache(30)->select();
$list = Nav::where('type', 12)->order('sort asc')->where('status',1)->cache(30)->select();
foreach ($list as $item) {
$desc = $item->desc;