front-end style, code
front end function
Check the type and size of the file to be uploaded at the front end, and then use the initUploadForm(); method to upload in the background
html Notes
form表单要加<form id="myform" name="myform" method="post" enctype="multipart/form-data">
Background controller, and record upload information in the database, preview and download later
Overall desired function