static void Main(string[] args) { //文件路径地址 string filePath = @""; List <TestModel> testModels = ExcelUtil.ExcelFileStreamToEntities <TestModel>(filePath, 1); }