修改续传key的构建,修改删除续传信息时失败的bug,添加测试

This commit is contained in:
Jackson.Bruce
2020-12-21 16:34:48 +08:00
parent 9c315f73f4
commit 18517b5e3b
6 changed files with 50 additions and 20 deletions

View File

@@ -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));
}