fix: nas页面从pc重定向到mobile时丢失参数问题

This commit is contained in:
2025-07-09 09:52:45 +08:00
parent 6ef860f24f
commit 4f2ecd1276

View File

@@ -85,9 +85,9 @@ class BaseController extends Controller
$ctrl = \think\helper\Str::snake($this->controller);
if ($ctrl == 'tops_nas') {
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')) {