修改续传key的构建,修改删除续传信息时失败的bug,添加测试
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Ufangx.FileServices.Middlewares
|
||||
}
|
||||
protected override async Task Handler(HttpContext context)
|
||||
{
|
||||
string key = context.Request.Form["key"];
|
||||
string key = context.Request.Query["key"];
|
||||
var service= context.RequestServices.GetRequiredService<IResumableService>();
|
||||
await WriteJsonAsync(context, await service.DeleteBlobs(key));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user