Compare commits

...

2 Commits

Author SHA1 Message Date
0b2b3ec85f Merge branch 'dev' 2025-07-09 09:52:59 +08:00
4f2ecd1276 fix: nas页面从pc重定向到mobile时丢失参数问题 2025-07-09 09:52:45 +08:00

View File

@@ -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')) {