PHP和nginx的配置都修改了,都是允许50M的文件上传但是依旧报这个错误Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
No messageform表单的属性<form class="form-horizontal form-material" id="login" enctype="multipart/form-data"method="post" action="{{ url('/certify') }}">表单的按钮处也有csrf<div class="form-group text-center m-t-20" style="clear: both;">
<div class="col-xs-10" style="margin-top: 15px">
<button class="btn btn-info btn-lg btn-block text-uppercase waves-effect waves-light" type="submit">申请</button>
{{ csrf_field() }}
</div>
</div>路由的定义Route::post('/certify', 'LoginController@loginCertify');
- 2 回答
- 0 关注
- 2074 浏览
添加回答
举报
0/150
提交
取消