浏览文章
文章信息
Magento2 添加自定义登陆后跳转referer | Magento2 add custom login after redirect url referer
12655
关键控制器代码:
if (empty($this->session->getCustomerId())) { return $this->_redirect('customer/account/login', array('referer' => base64_encode($this->url->getUrl($this::URL)))); }