改名
This commit is contained in:
@@ -15,6 +15,7 @@ use Database\Traits\HasBase;
|
||||
use Exception;
|
||||
use ReflectionException;
|
||||
use Snowflake\Channel;
|
||||
use Snowflake\Event;
|
||||
use Snowflake\Exception\NotFindClassException;
|
||||
use Snowflake\Snowflake;
|
||||
|
||||
@@ -310,8 +311,8 @@ class ActiveRecord extends BaseActiveRecord
|
||||
}
|
||||
$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