作者 lyh

gx

... ... @@ -79,6 +79,7 @@ class FileController
* @time :2023/6/17 16:32
*/
public function upload() {
@file_put_contents(storage_path('logs/lyh_error.log'), var_export('进入', true) . PHP_EOL, FILE_APPEND);
$this->request->validate([
'file'=>['required'],
],[
... ...