Browse Source

修改下载接口为get

develop-FileUpload-test
胡超1 2 years ago
parent
commit
e61c44bfe0
  1. 2
      24Hour/Controllers/Common/CommonController.cs

2
24Hour/Controllers/Common/CommonController.cs

@ -2739,7 +2739,7 @@ namespace _24Hour.Controllers.Common
#endregion #endregion
#region 文件上传 #region 文件上传
[HttpPost] [HttpGet]
[Route("RequestDownloadFile")] [Route("RequestDownloadFile")]
public IActionResult RequestDownloadFile(string filename) //[FromBody] dynamic Json public IActionResult RequestDownloadFile(string filename) //[FromBody] dynamic Json
{ {

Loading…
Cancel
Save