用户相关api、jwt接入
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user