update cms

This commit is contained in:
JaguarJack
2021-05-27 08:55:09 +08:00
parent af8e6c3f5d
commit 9873a2156b
5 changed files with 292 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ class Banners extends BaseModel
{
return $this->catchSearch()
->field($this->aliasField('*'))
->catchJoin(Category::class, 'id', 'category_id', ['name as category'])
->catchLeftJoin(Category::class, 'id', 'category_id', ['name as category'])
->catchOrder()
->creator()
->paginate();