Compare commits
1 Commits
614a1b696f
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f2ecd1276 |
@@ -85,9 +85,9 @@ class BaseController extends Controller
|
|||||||
$ctrl = \think\helper\Str::snake($this->controller);
|
$ctrl = \think\helper\Str::snake($this->controller);
|
||||||
if ($ctrl == 'tops_nas') {
|
if ($ctrl == 'tops_nas') {
|
||||||
if ($this->country_code == 'US') {
|
if ($this->country_code == 'US') {
|
||||||
return $this->redirect(url("@usmobile/$ctrl/$action"));
|
return $this->redirect(url("@usmobile/$ctrl/$action", $this->request->param()));
|
||||||
}
|
}
|
||||||
return $this->redirect(url("@mobile/$ctrl/$action"));
|
return $this->redirect(url("@mobile/$ctrl/$action", $this->request->param()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strpos($domain, 'orico.cc')) {
|
if (strpos($domain, 'orico.cc')) {
|
||||||
|
|||||||
@@ -435,7 +435,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<span class="t1">{$banners[6]['name']}</span>
|
<span class="t1">{$banners[6]['name']}</span>
|
||||||
<span class="t2">{$banners[6]['desc']}</span>
|
<span class="t2">{$banners[6]['desc']}</span>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -264,6 +264,7 @@ class TopsNas extends BaseController
|
|||||||
|
|
||||||
return $this->fetch();
|
return $this->fetch();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 根据分类获取文章
|
// 根据分类获取文章
|
||||||
private function getArticleByCategory($categorys, $limit = null)
|
private function getArticleByCategory($categorys, $limit = null)
|
||||||
{
|
{
|
||||||
|
|||||||
0
app/mobile/view/tops_nas/helper.phtml
Executable file → Normal file
0
app/mobile/view/tops_nas/helper.phtml
Executable file → Normal file
0
app/mobile/view/tops_nas/helper_detail.phtml
Executable file → Normal file
0
app/mobile/view/tops_nas/helper_detail.phtml
Executable file → Normal file
Reference in New Issue
Block a user