改名
This commit is contained in:
@@ -269,6 +269,10 @@ class ActiveRecord extends BaseActiveRecord
|
|||||||
{
|
{
|
||||||
$data = $this->_attributes;
|
$data = $this->_attributes;
|
||||||
foreach ($this->getAnnotation(self::ANNOTATION_GET) as $key => $item) {
|
foreach ($this->getAnnotation(self::ANNOTATION_GET) as $key => $item) {
|
||||||
|
|
||||||
|
var_dump($data, $key);
|
||||||
|
if (!isset($data[$key])) continue;
|
||||||
|
|
||||||
$data[$key] = $this->runAnnotation($key, $data[$key] ?? null);
|
$data[$key] = $this->runAnnotation($key, $data[$key] ?? null);
|
||||||
}
|
}
|
||||||
$data = array_merge($data, $this->runRelate());
|
$data = array_merge($data, $this->runRelate());
|
||||||
|
|||||||
Reference in New Issue
Block a user