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

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

View File

@@ -479,6 +479,7 @@ class Product extends Common
->where('status', '=', 1)
->order(['sort' => 'asc', 'id' => 'desc']);
}])
->atPlatform(request()->from)
->uniqueLabel(['BANNER_680dd7ceaa529'])
->language($this->lang_id)
->enabled(true)