mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
修正Relation
This commit is contained in:
@@ -137,7 +137,7 @@ class Relation
|
||||
case self::BELONGS_TO:
|
||||
foreach ($resultSet as $result) {
|
||||
// 模型关联组装
|
||||
$this->match($model, $relation, $result);
|
||||
$this->match($this->model, $relation, $result);
|
||||
}
|
||||
break;
|
||||
case self::HAS_MANY:
|
||||
|
||||
Reference in New Issue
Block a user