用户相关api、jwt接入

This commit is contained in:
2025-05-05 14:20:17 +08:00
parent 147b2d3fd5
commit bd26d52fff
11 changed files with 660 additions and 27 deletions

View File

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