<?php namespace app\admin\model; use think\Model; class ThirdExam extends Model { public function user() { return $this->belongsTo('User','user_id','id',[],'LEFT')->setEagerlyType(0); } }