Merge branch 'sprint/scx_api' into 'master'

* Fix api format data bug.

See merge request easycorp/zentaopms!2835
This commit is contained in:
朱金勇
2022-04-11 01:10:52 +00:00
+1 -1
View File
@@ -524,7 +524,7 @@ class baseEntry
/* Format value. */
if(!$isArray)
{
$object->$key = $this->cast($object->$key, $type);
$object->$key = $this->cast(trim($object->$key, ','), $type);
continue;
}