文件上传

This commit is contained in:
TL 2022-08-10 19:36:24 +08:00
parent 2d7f5e9ddd
commit c5c73005e9
1 changed files with 2 additions and 2 deletions

View File

@ -13,9 +13,9 @@ class FileController extends Controller
$path = $file->store($type . '/', 'upload');
return [
return json_success('上传成功', [
'url' => asset('upload/' . $path),
'value' => 'upload/' . $path,
];
]);
}
}