针对关联预载入的链式操作,我在这里还是采用一对多的关联模型。 先来看数据库表:Users表、Profile表 Users表Profile表 Profile模型 Users模型 Users控制器 输出结果: