首页 > 解决方案 > Laravel 自定义帖子路由在实时服务器上不起作用?

问题描述

我已经在 cpanel 上上传了 laravel 网站。一切正常,但自定义发布路线无法正常工作。相同的路由在本地服务器上运行良好,但在实时服务器上不起作用。

Route::resource('frontimages','FrontImagesController');   //working

Route::post('allumni_edit_current','AllumnisController@UpdateData');//not working

我知道代码很好,因为它在本地主机上工作,但它在实时服务上没有做任何事情。请帮忙

标签: phplaravelcpanel

解决方案


推荐阅读