摘要:
Laravel 5.5 FormRequest 自定义错误消息 使用FormRequest进行表单验证,就不用让验证逻辑和控制器里面的逻辑都混在一起。但在使用的时候呢,发现json错误返回的数据,与我们想要的有点差距。下面我给个例子:(不喜勿喷) 在用ajax进行提交时,如果验证错了,那么他会返回 阅读全文
posted @ 2018-09-30 11:02
caigan
阅读(1787)
评论(0)
推荐(0)
摘要:
2.设置header头 <span style="font-size:16px;">设置代理、cookie、X-Requested-With <span style="font-size:16px;">设置代理、cookie、X-Requested-With 注意 :X-Requested-With 阅读全文
posted @ 2018-09-30 10:35
caigan
阅读(1494)
评论(0)
推荐(0)
摘要:
全局篇 查看artisan命令 全局篇 查看artisan命令 php artisan php artisan list 查看某个帮助命令 php artisan help make:model php artisan php artisan list 查看某个帮助命令 php artisan he 阅读全文
posted @ 2018-09-30 10:11
caigan
阅读(880)
评论(0)
推荐(0)