角色相关(列表和下拉框)、用户查询、项目部分API

This commit is contained in:
2025-05-05 16:44:23 +08:00
parent 7c8b090940
commit 2609d009ed
12 changed files with 252 additions and 10 deletions

View File

@@ -147,7 +147,7 @@ class BaseController
if (mb_strlen(strval($checkValue)) <= 0 && !in_array($fieldName, $this->notRequest)) {
$requiredFields[] = $fieldName;
} else {
if (!empty($checkValue)) {
if (!empty($checkValue) || $checkValue === 0) {
$result[$fieldName] = $checkValue;
}
}