diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/BaseController/BaseExcelController.cs b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/BaseController/BaseExcelController.cs index 81bdee27..a91e85b2 100644 --- a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/BaseController/BaseExcelController.cs +++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Controllers/BaseController/BaseExcelController.cs @@ -60,7 +60,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers /// [HttpPost] [AllowAnonymous] - public async Task Import(IFormFile formFile) + public async Task Import([FromForm(Name = "file")]IFormFile formFile) { List datas = ExcelHelper.ImportData(formFile.OpenReadStream()); diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/wwwroot/Temp/202209290934571682T_DataExport.xlsx b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/wwwroot/Temp/202209290934571682T_DataExport.xlsx new file mode 100644 index 00000000..2052611e Binary files /dev/null and b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/wwwroot/Temp/202209290934571682T_DataExport.xlsx differ diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/wwwroot/Temp/202209290956277335T_DataExport.xlsx b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/wwwroot/Temp/202209290956277335T_DataExport.xlsx new file mode 100644 index 00000000..11e83543 Binary files /dev/null and b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/wwwroot/Temp/202209290956277335T_DataExport.xlsx differ diff --git a/Yi.Vue3.X.RuoYi/src/views/system/user/index.vue b/Yi.Vue3.X.RuoYi/src/views/system/user/index.vue index f3b8fd66..3a6e781e 100644 --- a/Yi.Vue3.X.RuoYi/src/views/system/user/index.vue +++ b/Yi.Vue3.X.RuoYi/src/views/system/user/index.vue @@ -207,7 +207,7 @@ @@ -215,9 +215,9 @@
将文件拖到此处,或点击上传