This commit is contained in:
2025-12-31 00:19:29 +08:00
parent c943d6258b
commit 89d5b604d6
5 changed files with 26 additions and 18 deletions
+1 -1
View File
@@ -575,7 +575,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
}
$validate = $this->resolve($rule);
if (!$validate->validation($params)) {
return \Kiri::getLogger()->failure($validate->getError() . PHP_EOL, 'mysql');
return \Kiri::getLogger()->logCategory($validate->getError() . PHP_EOL, 'mysql');
} else {
return TRUE;
}