获取路由前缀

  1. in controller
$request->route()->getPrefix()

$this->getRouter()->getCurrentRoute()->getPrefix()
  1. in blade
Request::route()->getPrefix();