This commit is contained in:
2021-04-26 13:57:13 +08:00
parent d1e3a3017b
commit 76f9688ea6
3 changed files with 8 additions and 5 deletions
+4
View File
@@ -312,6 +312,10 @@ class ActiveRecord extends BaseActiveRecord
$data[$key] = $this->{$item}($data[$key] ?? null);
}
$data = array_merge($data, $this->runRelate());
$class = Snowflake::app()->getChannel();
$class->push($this, static::class);
return $data;
}