Skip to content

Commit

Permalink
Merge pull request #146 from niuf416/master
Browse files Browse the repository at this point in the history
fix: 文件分块上传时生成uuid报错
  • Loading branch information
slowlyo authored Aug 16, 2024
2 parents 29d7f7b + 2a3e4a3 commit e66443c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/UploadTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function upload($type = 'file')

public function chunkUploadStart()
{
$uploadId = Str::uuid();
$uploadId = (string) Str::uuid();

cache()->put($uploadId, [], 600);

Expand Down

0 comments on commit e66443c

Please sign in to comment.