回复内容: foreach ($six_month as $k => $v) { $six_upload = $upload->where("month_id={$vo['id']}")->find(); $six_month[$k]['upload'] = $six_upload; } $this->assign('six_month', $six_month);登录后复制