where('id',$value)->value('title'); // } // 本模型关联 public function glPid() { return $this->belongsTo('Category','pid','id'); } }