guochao il y a 5 ans
Parent
commit
2f0db8f397

+ 1 - 3
.idea/workspace.xml

@@ -2,8 +2,6 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="c25ee83f-38b8-4a56-8a1f-62ecc8d6cec2" name="Default Changelist" comment="">
-      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/java/cn/iselab/mooctest/site/service/impl/AutoReportProductServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/cn/iselab/mooctest/site/service/impl/AutoReportProductServiceImpl.java" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/src/main/java/cn/iselab/mooctest/site/web/ctrl/UploadController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/cn/iselab/mooctest/site/web/ctrl/UploadController.java" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@@ -123,7 +121,7 @@
       <workItem from="1574148794239" duration="247000" />
       <workItem from="1574243622969" duration="17039000" />
       <workItem from="1574324790942" duration="17204000" />
-      <workItem from="1574392825833" duration="3457000" />
+      <workItem from="1574392825833" duration="3599000" />
     </task>
     <servers />
   </component>

+ 1 - 0
src/main/java/cn/iselab/mooctest/site/web/ctrl/UploadController.java

@@ -33,6 +33,7 @@ public class UploadController {
     public String uploadGeneralFile(MultipartFile file) throws IOException {
         // 将文件上传至本地服务器中
 //        log.info("save file to server");
+
         String fileName = file.getOriginalFilename();
 //        log.info("fileName " + fileName);
         String name = fileName.substring(0,fileName.indexOf("."));