Skip to content

Commit 04fdd51

Browse files
committed
1 parent e2ff464 commit 04fdd51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

最后大项目代码/YouZack-VNext/FileService.Domain/FSDomainService.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public async Task<UploadedItem> UploadAsync(Stream stream, string fileName,
4242
{
4343
return oldUploadItem;
4444
}
45+
stream.Position = 0;
4546
//backupStorage实现很稳定、速度很快,一般都使用本地存储(文件共享或者NAS)
4647
Uri backupUrl = await backupStorage.SaveAsync(key, stream, cancellationToken);//保存到本地备份
4748
stream.Position = 0;

0 commit comments

Comments
 (0)