update package

This commit is contained in:
luoyunchong
2021-09-02 23:28:12 +08:00
parent 66cd518872
commit 1e9fb7d195
52 changed files with 434 additions and 144 deletions

View File

@ -26,6 +26,13 @@ namespace Basic.Controllers
throw new NotImplementedException();
}
[HttpPost("form-with-user")]
public IActionResult PostFormUser([FromForm] FormUser FormUser)
{
throw new NotImplementedException();
}
[HttpGet("{name}")]
[Produces("application/octet-stream", Type = typeof(FileResult))]
public FileResult GetFile(string name)
@ -47,4 +54,11 @@ namespace Basic.Controllers
public IFormFile File { get; set; }
}
public class FormUser
{
public string Name { get; set; }
public string User { get; set; }
}
}