PHP和nginx的配置都修改了,都是允許50M的文件上傳但是依舊報(bào)這個(gè)錯(cuò)誤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">申請(qǐng)</button>
{{ csrf_field() }}
</div>
</div>路由的定義Route::post('/certify', 'LoginController@loginCertify');
用laravel做圖片上傳的時(shí)候,圖片大于2m的時(shí)候就上傳失敗
阿波羅的戰(zhàn)車
2018-08-02 18:17:54