From 325bbcb999886ea3bfab3c2051256053137299f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 19 Jan 2021 19:21:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/ActiveRecord.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Database/ActiveRecord.php b/Database/ActiveRecord.php index 77e7589d..4f3ef48e 100644 --- a/Database/ActiveRecord.php +++ b/Database/ActiveRecord.php @@ -314,6 +314,8 @@ class ActiveRecord extends BaseActiveRecord $attributes = Snowflake::app()->getAttributes(); $callback = $attributes->getByClass(static::class); + var_dump($callback); + $data = $this->_attributes; foreach ($callback as $key => $item) { foreach ($item['attributes'] as $attribute) {