\App\Http\Controllers\AdminFileSystemController

Summary

Methods
Properties
Constants
home()
files()
makeDirectory()
deleteDirectory()
upload()
download()
delete()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

home()

home() : \Illuminate\Contracts\View\View

homePage

Returns

\Illuminate\Contracts\View\View

files()

files(\Illuminate\Http\Request  $request) : \Symfony\Component\HttpFoundation\Response

获取文件列表

Parameters

\Illuminate\Http\Request $request

Returns

\Symfony\Component\HttpFoundation\Response

makeDirectory()

makeDirectory(\App\Http\Requests\Admin\FileSystem\CreateDirectoryRequest  $request) : \Symfony\Component\HttpFoundation\Response

创建文件夹

Parameters

\App\Http\Requests\Admin\FileSystem\CreateDirectoryRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

deleteDirectory()

deleteDirectory(\App\Http\Requests\Admin\FileSystem\DeleteDirectoryRequest  $request) : \Symfony\Component\HttpFoundation\Response

删除文件夹

Parameters

\App\Http\Requests\Admin\FileSystem\DeleteDirectoryRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

upload()

upload(\App\Http\Requests\Admin\FileSystem\UploadRequest  $request) : \Symfony\Component\HttpFoundation\Response

上传文件

Parameters

\App\Http\Requests\Admin\FileSystem\UploadRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

download()

download(\App\Http\Requests\Admin\FileSystem\FileRequest  $request) : mixed|\Symfony\Component\HttpFoundation\Response

下载文件(流)

Parameters

\App\Http\Requests\Admin\FileSystem\FileRequest $request

Returns

mixed|\Symfony\Component\HttpFoundation\Response

delete()

delete(\Illuminate\Http\Request  $request) : \Symfony\Component\HttpFoundation\Response

删除文件

Parameters

\Illuminate\Http\Request $request

Returns

\Symfony\Component\HttpFoundation\Response