fix: nas页面从pc重定向到mobile时丢失参数问题
This commit is contained in:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user