mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-23 09:40:39 +00:00
Refactoring
This commit is contained in:
@@ -43,6 +43,7 @@ class VisitorZipFilesController extends Controller
|
||||
->whereIn('id', $request->items)
|
||||
->get();
|
||||
|
||||
// Create zip
|
||||
$zip = ($this->zipFiles)($files, $shared);
|
||||
|
||||
// Get file
|
||||
|
||||
@@ -39,6 +39,7 @@ class VisitorZipFolderController extends Controller
|
||||
abort(404, 'Requested folder doesn\'t exists.');
|
||||
}
|
||||
|
||||
// Create zip
|
||||
$zip = ($this->zipFolder)($id, $shared);
|
||||
|
||||
// Get file
|
||||
|
||||
@@ -9,7 +9,13 @@ use Illuminate\Database\Eloquent\Relations\HasOne;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
/**
|
||||
* @property mixed basename
|
||||
* @property string basename
|
||||
* @property string shared_token
|
||||
* @property string id
|
||||
* @property string user_id
|
||||
* @property string created_at
|
||||
* @property string updated_at
|
||||
* @method static where(string $string, string $string1, string $toDateTimeString)
|
||||
*/
|
||||
class Zip extends Model
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user