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:
parent
0baa5cdf2c
commit
99ce204683
@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user