where('language_id', '=', $value); } // 获取启用的配置分组 public function scopeEnabled($query) { $query->where('status', '=', 1); } }