huwhois 5 years ago
parent
commit
333d81bf57

+ 1 - 1
src/main/java/io/renren/modules/sys/controller/FileManagerController.java

58
            || file.getOriginalFilename().contains(".gif")) {
58
            || file.getOriginalFilename().contains(".gif")) {
59
            Map<String, Object> resultSave = saveFile(file, activePath, false);
59
            Map<String, Object> resultSave = saveFile(file, activePath, false);
60
            
60
            
61
            if (Integer.valueOf((String) resultSave.get("status")) != 0) {
61
            if ((Integer) resultSave.get("status") != 0) {
62
                return R.error((String) resultSave.get("msg"));
62
                return R.error((String) resultSave.get("msg"));
63
            }
63
            }
64
64