mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
feat: 优化三方平台加载
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user