This commit is contained in:
2021-04-27 18:36:23 +08:00
parent 2398f34631
commit 486d1f56cd
+1 -1
View File
@@ -305,7 +305,7 @@ class ActiveRecord extends BaseActiveRecord
*/
public function toArray(): array
{
$data = $this->_attributes;
return $this->_attributes;
$lists = $this->getAnnotation(self::GET);
foreach ($lists as $key => $item) {