📅  最后修改于: 2022-03-11 14:54:24.895000             🧑  作者: Mango
代码示例1
$this->validate(
$request,
['thing' => 'required'],
['thing.required' => 'this is my custom error message for required']
);