1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 20:52:44 +08:00

侧栏featured课程改ajax形式

This commit is contained in:
xiaochong0302 2023-09-04 11:32:24 +08:00
parent 0baa5cdf2c
commit 99ce204683

View File

@ -29,8 +29,6 @@ class HelpController extends Controller
return $this->response->redirect($location); return $this->response->redirect($location);
} }
$featuredCourses = $this->getFeaturedCourses();
$service = new HelpListService(); $service = new HelpListService();
$items = $service->handle(); $items = $service->handle();
@ -38,7 +36,6 @@ class HelpController extends Controller
$this->seo->prependTitle('帮助'); $this->seo->prependTitle('帮助');
$this->view->setVar('items', $items); $this->view->setVar('items', $items);
$this->view->setVar('featured_courses', $featuredCourses);
} }
/** /**