修bug
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user