laravel 验证 闪存

php artisan make:request StoreBlogPost
return [
'column_title' => 'required',
'wechat_account' => 'required',
'description' => 'required'
//
];
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
最后修改:2019-10-15 08:08:26
7