This commit is contained in:
2022-01-14 11:04:56 +08:00
parent 890ae64980
commit c16bbb7dab
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ class CategoryController extends Controller
}
//院所新闻
if ($category->id == 66) {
$articles = Article::ByCategory([66, 60, 61, 17, 26,])
$articles = Article::ByCategory([66, 60, 61, 17, 26, 77])
->where('status', 1)
->latest('sort')
->latest('created_at')

View File

@@ -20,7 +20,7 @@ class IndexController extends Controller
public function index()
{
$ysxw = Article::where('status', 1)
->ByCategory([66, 60, 61, 17, 26,])
->ByCategory([66, 60, 61, 17, 26, 77])
->latest('sort')
->latest()
->take(7)