Merge branch 'dev'
This commit is contained in:
@@ -262,15 +262,12 @@ class TopsNas extends BaseController
|
|||||||
// 下载
|
// 下载
|
||||||
public function download()
|
public function download()
|
||||||
{
|
{
|
||||||
$focus_image = [];
|
|
||||||
$downloads = [];
|
$downloads = [];
|
||||||
// 获取banner
|
// 获取banner
|
||||||
$banners = $this->getBanners([129, 130]);
|
$banners = $this->getBanners([129]);
|
||||||
if (!empty($banners)) {
|
if (!empty($banners)) {
|
||||||
$focus_image = $banners['typeid_130']['banners'];
|
|
||||||
$downloads = $banners['typeid_129']['banners'];
|
$downloads = $banners['typeid_129']['banners'];
|
||||||
}
|
}
|
||||||
$this->assign('focus_image', $focus_image);
|
|
||||||
$this->assign('downloads', $downloads);
|
$this->assign('downloads', $downloads);
|
||||||
|
|
||||||
return $this->fetch();
|
return $this->fetch();
|
||||||
|
|||||||
@@ -251,15 +251,12 @@ class TopsNas extends BaseController
|
|||||||
|
|
||||||
public function download()
|
public function download()
|
||||||
{
|
{
|
||||||
$focus_image = [];
|
|
||||||
$downloads = [];
|
$downloads = [];
|
||||||
// 获取banner
|
// 获取banner
|
||||||
$banners = $this->getBanners([129, 130]);
|
$banners = $this->getBanners([129]);
|
||||||
if (!empty($banners)) {
|
if (!empty($banners)) {
|
||||||
$focus_image = $banners['typeid_130']['banners'];
|
|
||||||
$downloads = $banners['typeid_129']['banners'];
|
$downloads = $banners['typeid_129']['banners'];
|
||||||
}
|
}
|
||||||
$this->assign('focus_image', $focus_image);
|
|
||||||
$this->assign('downloads', $downloads);
|
$this->assign('downloads', $downloads);
|
||||||
|
|
||||||
return $this->fetch();
|
return $this->fetch();
|
||||||
|
|||||||
Reference in New Issue
Block a user