laravel unique validation update

If you use route model binding, you can do something like this:

参考这篇文章:https://laracasts.com/discuss/channels/requests/laravel-5-validation-request-how-to-handle-validation-on-update

发表评论

电子邮件地址不会被公开。 必填项已用*标注