前端:
<form role="form" class="form-horizontal" id="form1" method="post" enctype="multipart/form-data" action="../ImportStudentEnrollment/ImportExcelFile">
</form>
method要设置为post,enctype="multipart/form-data"
前端:
<form role="form" class="form-horizontal" id="form1" method="post" enctype="multipart/form-data" action="../ImportStudentEnrollment/ImportExcelFile">
</form>
method要设置为post,enctype="multipart/form-data"
转载于:https://www.cnblogs.com/ZX-LMY/p/9437977.html