|
|
|
|
|
|
523
|
/// </summary>
|
523
|
/// </summary>
|
|
524
|
/// <returns></returns>
|
524
|
/// <returns></returns>
|
|
525
|
[HttpPost("importexcel")]
|
525
|
[HttpPost("importexcel")]
|
|
526
|
- public async Task<IActionResult> ImportExcel(string taskid, int headrow = 0)
|
|
|
|
|
|
526
|
+ public async Task<IActionResult> ImportExcel( int headrow = 0)
|
|
527
|
{
|
527
|
{
|
|
528
|
- if (string.IsNullOrEmpty(taskid))
|
|
|
|
529
|
- return Error("任务id不能为空");
|
|
|
|
530
|
-
|
|
|
|
|
|
528
|
+
|
|
531
|
//string usercode = User.Claims.FirstOrDefault(c => c.Type == ClaimTypes.Sid).Value;
|
529
|
//string usercode = User.Claims.FirstOrDefault(c => c.Type == ClaimTypes.Sid).Value;
|
|
532
|
|
530
|
|
|
533
|
Microsoft.AspNetCore.Http.IFormFile _upfile = Request.Form.Files[0];
|
531
|
Microsoft.AspNetCore.Http.IFormFile _upfile = Request.Form.Files[0];
|