This commit is contained in:
2021-04-27 18:55:08 +08:00
parent bf47dde04c
commit 55acb2795f
+1 -1
View File
@@ -309,7 +309,7 @@ class ActiveRecord extends BaseActiveRecord
$lists = $this->getAnnotation(self::GET);
foreach ($lists as $key => $item) {
$data[$key] = call_user_func([$this,$item],$data[$key] ?? null);
$data[$key] = $this->{$item}($data[$key] ?? null);
}
$data = array_merge($data, $this->runRelate());