前端:
<form role="form" class="form-horizontal" id="form1" method="post" enctype="multipart/form-data" action="../ImportStudentEnrollment/ImportExcelFile">
</form>
method要设置为post,enctype="multipart/form-data"