草庐IT

RouteCompiler

全部标签

php - RouteCompiler 中的 Laravel DomainException 变量名称在路由模式中不能超过 32 个字符

由于变量名称过长,我收到此错误。如何覆盖变量名?我很想保留资源名称。我的路线是:Route::resource('computer-software-version-installation','Web\Model\ComputerSoftwareVersionInstallationController'); 最佳答案 这是我所做的修复:Route::resource('computer-software-version-installation','Web\Model\ComputerSoftwareVersionInstall