* Fix missing requireFields error.

This commit is contained in:
鲁飞
2022-11-07 09:14:12 +00:00
committed by 朱金勇
parent 0d9ca308b0
commit b8619da3a6
25 changed files with 28 additions and 27 deletions
+1 -1
View File
@@ -465,7 +465,7 @@ class baseEntry
{
$module = $this->app->moduleName;
$name = isset($this->app->lang->$module->$field) ? $this->app->lang->$module->$field : $field;
$this->sendError(400, sprintf($this->app->lang->error->notempty, $name));
throw EndResponseException::create($this->sendError(400, sprintf($this->app->lang->error->notempty, $name)));
}
}
}