改名
This commit is contained in:
@@ -307,14 +307,14 @@ class ActiveRecord extends BaseActiveRecord
|
||||
{
|
||||
$data = $this->_attributes;
|
||||
|
||||
$lists = $this->getAnnotation(self::ANNOTATION_GET);
|
||||
$lists = $this->getAnnotation(self::GET);
|
||||
foreach ($lists as $key => $item) {
|
||||
$data[$key] = $this->{$item}($data[$key] ?? null);
|
||||
}
|
||||
$data = array_merge($data, $this->runRelate());
|
||||
|
||||
$class = Snowflake::app()->getChannel();
|
||||
$class->push($this, static::class);
|
||||
// $class = Snowflake::app()->getChannel();
|
||||
// $class->push($this, static::class);
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user