📅  最后修改于: 2022-03-11 14:53:57.645000             🧑  作者: Mango
if ($validator->fails()) {
$failedRules = $validator->failed();
if(isset($failedRules['email_address']['Unique'])) {
//Your code here
}
}