getRelation()
getRelation(array $subRelation = [], \Closure $closure = null) : \think\Collection
延迟获取关联数据
Parameters
array | $subRelation | 子关联 |
\Closure | $closure | 闭包查询条件 |
模型关联接口
Loading…