😎修复函数名拼写错误
This commit is contained in:
parent
7a1f459573
commit
ca75a8c05a
@ -45,7 +45,7 @@
|
||||
<PackageReference Include="SqlSugarCore" Version="5.1.4.170" />
|
||||
<PackageReference Include="SSH.NET" Version="2024.1.0" />
|
||||
<PackageReference Include="System.Linq.Dynamic.Core" Version="1.4.8" />
|
||||
<PackageReference Include="TencentCloudSDK.Sms" Version="3.0.1117" />
|
||||
<PackageReference Include="TencentCloudSDK.Sms" Version="3.0.1118" />
|
||||
<PackageReference Include="UAParser" Version="3.1.47" />
|
||||
<PackageReference Include="Yitter.IdGenerator" Version="1.0.14" />
|
||||
</ItemGroup>
|
||||
|
||||
@ -257,7 +257,7 @@ public static class CommonUtil
|
||||
public static async Task<List<T>> ImportExcelDataAsync<T>([Required] IFormFile file) where T : class, new()
|
||||
{
|
||||
var sysFileService = App.GetRequiredService<SysFileService>();
|
||||
var newFile = await sysFileService.UploadFile(new FileUploadInput { File = file });
|
||||
var newFile = await sysFileService.UploadFile(new UploadFileInput { File = file });
|
||||
var filePath = Path.Combine(App.WebHostEnvironment.WebRootPath, newFile.FilePath!, newFile.Id + newFile.Suffix);
|
||||
|
||||
IImporter importer = new ExcelImporter();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user