refactor: 英文移动端nas下载页
This commit is contained in:
@@ -262,6 +262,17 @@ class TopsNas extends BaseController
|
||||
// 下载
|
||||
public function download()
|
||||
{
|
||||
$focus_image = [];
|
||||
$downloads = [];
|
||||
// 获取banner
|
||||
$banners = $this->getBanners([129, 130]);
|
||||
if (!empty($banners)) {
|
||||
$focus_image = $banners['typeid_130']['banners'];
|
||||
$downloads = $banners['typeid_129']['banners'];
|
||||
}
|
||||
$this->assign('focus_image', $focus_image);
|
||||
$this->assign('downloads', $downloads);
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user