fix: 横幅查询未过滤禁用的数据

This commit is contained in:
2025-06-07 16:56:43 +08:00
parent 67c9578fbf
commit 0ce7dd2f8a
3 changed files with 10 additions and 4 deletions

View File

@@ -29,6 +29,7 @@ class Faq extends Common
'at_platform' => request()->from
])
->type('image')
->enabled()
->visible(['id', 'title', 'image', 'link'])
->find();
View::assign('banner', $banner);