record collection getApiOutput method
This commit is contained in:
@@ -83,10 +83,7 @@ class Notification extends RecordBase
|
||||
|
||||
$recordCollection = $this->getNotificationService()->get($userId, $searchParams);
|
||||
|
||||
return (object) [
|
||||
'total' => $recordCollection->getTotal(),
|
||||
'list' => $recordCollection->getValueMapList(),
|
||||
];
|
||||
return $recordCollection->toApiOutput();
|
||||
}
|
||||
|
||||
public function getActionNotReadCount(): int
|
||||
|
||||
Reference in New Issue
Block a user