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