修复不工作的文件校验功能

*应该是漏加了
This commit is contained in:
Chenx221 2024-04-11 16:13:49 +08:00
parent 6fc8396d80
commit 797cf47605
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -40,7 +40,7 @@ class HomeController extends Controller
'rules' => [
[
'allow' => true,
'actions' => ['index', 'download', 'preview', 'rename', 'delete', 'upload', 'new-folder', 'download-folder', 'multi-ff-zip-dl', 'zip', 'unzip', 'paste', 'search'],
'actions' => ['index', 'download', 'preview', 'rename', 'delete', 'upload', 'new-folder', 'download-folder', 'multi-ff-zip-dl', 'zip', 'unzip', 'paste', 'search','checksum'],
'roles' => ['user'],
],
],
@ -60,7 +60,8 @@ class HomeController extends Controller
'zip' => ['POST'], //剩余空间检查√
'unzip' => ['POST'], //剩余空间检查√
'paste' => ['POST'], //剩余空间检查√
'search' => ['POST']
'search' => ['POST'],
'checksum' => ['POST'],
],
],
]