* Code for batch create.

This commit is contained in:
孙广明
2022-03-15 13:36:29 +08:00
parent 78f64fdb32
commit 2b9fcb67f5
+7 -3
View File
@@ -270,9 +270,13 @@ class userTest
}
else
{
a($userIDList);die;
$query = "id in $userIDList";
return $this->objectModel->getByQuery('', $query);
$users = array();
foreach($userIDList as $userID)
{
$users[] = $this->objectModel->getByID($userID, 'id');
}
return $users;
}
}
}