public static function getSystemConfig($type) { return SysConfig::whereNull('deleted_at')->where('type', $type)->get(); }