This commit is contained in:
2022-08-01 15:04:19 +08:00
parent 51bac86d4b
commit 51194e3f89
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ class IndexController extends Controller
->get(); ->get();
$nyydt = Article::shown() $nyydt = Article::shown()
->whereNotIn('id', $nyydtimg->pluck('id')) ->whereNotNull('cover')
->byCategory(7) ->byCategory(7)
->bysort() ->bysort()
->take(4) ->take(4)

View File

@@ -8,7 +8,7 @@ use App\Models\Staff;
class StaffController extends Controller class StaffController extends Controller
{ {
public $category_id = 16; public $category_id = 4;
public function index() public function index()