Compare commits
2 Commits
5b700434b8
...
6865b6bea5
| Author | SHA1 | Date | |
|---|---|---|---|
| 6865b6bea5 | |||
| 42b2242570 |
@@ -262,15 +262,12 @@ class TopsNas extends BaseController
|
||||
// 下载
|
||||
public function download()
|
||||
{
|
||||
$focus_image = [];
|
||||
$downloads = [];
|
||||
// 获取banner
|
||||
$banners = $this->getBanners([129, 130]);
|
||||
$banners = $this->getBanners([129]);
|
||||
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();
|
||||
|
||||
@@ -251,15 +251,12 @@ class TopsNas extends BaseController
|
||||
|
||||
public function download()
|
||||
{
|
||||
$focus_image = [];
|
||||
$downloads = [];
|
||||
// 获取banner
|
||||
$banners = $this->getBanners([129, 130]);
|
||||
$banners = $this->getBanners([129]);
|
||||
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