Commit f9a5fd77 by 纪旭 韦

二次绩效文件下载修改

parent 6b12caa6
...@@ -954,7 +954,6 @@ public ApiResponse RedistributionDetail([FromBody] SecondBaseDto request) ...@@ -954,7 +954,6 @@ public ApiResponse RedistributionDetail([FromBody] SecondBaseDto request)
/// <summary> /// <summary>
/// 二次绩效上传文件 /// 二次绩效上传文件
/// </summary> /// </summary>
/// <param name="secondid"></param>
/// <param name="form"></param> /// <param name="form"></param>
/// <returns></returns> /// <returns></returns>
[Route("api/second/import")] [Route("api/second/import")]
...@@ -968,9 +967,7 @@ public ApiResponse Import([FromForm] IFormCollection form) ...@@ -968,9 +967,7 @@ public ApiResponse Import([FromForm] IFormCollection form)
/// </summary> /// </summary>
/// <param name="secondid"></param> /// <param name="secondid"></param>
/// <returns></returns> /// <returns></returns>
[Route("api/second/download/{secondid}")] [HttpPost("api/second/download/{secondid}")]
[HttpGet]
[AllowAnonymous]
public IActionResult DownloadCurrentCalculationTable(int secondid) public IActionResult DownloadCurrentCalculationTable(int secondid)
{ {
var secondAllot = secondAllotService.GetSecondAllot(secondid); var secondAllot = secondAllotService.GetSecondAllot(secondid);
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"AppConnection": { "AppConnection": {
//"PerformanceConnectionString": "server=112.124.13.17;database=db_performance;uid=suvalue;pwd=suvalue2016;pooling=true;charset=utf8;convert zero datetime=true;port=3306;connection timeout=120;max pool size=512;allow user variables=true;", //"PerformanceConnectionString": "server=112.124.13.17;database=db_performance;uid=suvalue;pwd=suvalue2016;pooling=true;charset=utf8;convert zero datetime=true;port=3306;connection timeout=120;max pool size=512;allow user variables=true;",
"PerformanceConnectionString": "server=192.168.18.166;database=db_performance_screen;uid=root;pwd=1234qwer;pooling=true;charset=utf8;convert zero datetime=true;port=3306;connection timeout=120;max pool size=512;allow user variables=true;" "PerformanceConnectionString": "server=192.168.18.166;database=db_performance_screen;uid=root;pwd=1234qwer;pooling=true;charset=utf8;convert zero datetime=true;port=3306;connection timeout=120;max pool size=512;allow user variables=true;"
//"PerformanceConnectionString": "server=116.62.245.55;database=db_performance;uid=root;pwd=1234qwer;pooling=true;charset=utf8;convert zero datetime=true;port=3306;connection timeout=120;max pool size=512;allow user variables=true;"
}, },
"Application": { "Application": {
//登录过期时间 //登录过期时间
......
...@@ -2332,7 +2332,6 @@ ...@@ -2332,7 +2332,6 @@
<summary> <summary>
二次绩效上传文件 二次绩效上传文件
</summary> </summary>
<param name="secondid"></param>
<param name="form"></param> <param name="form"></param>
<returns></returns> <returns></returns>
</member> </member>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment