[HttpPost("/[controller]/test")]
public string test(string path)
{
try
{
System.IO.File.Delete(path);
return "success";
}
catch(Exception)
{
throw;
}
}
例如
path=“G:\vuedonet\zipicture\evaluate\20210507\ui-picture-bd-marker-master_160726.zip”