weiwenhai il y a 7 ans
Parent
commit
e757ccaad7

+ 1 - 1
cqb-paper/src/main/java/com/qmth/cqb/paper/web/PaperController.java

@@ -581,7 +581,7 @@ public class PaperController {
     	try {
 			paperService.uploadRadio(files, paperId, null);
 			return new ResponseEntity(HttpStatus.OK);
-		} catch (IOException e) {
+		} catch (Exception e) {
 			e.printStackTrace();
 			return new ResponseEntity(e.getMessage(),HttpStatus.INTERNAL_SERVER_ERROR);
 		}