Procházet zdrojové kódy

feat(口腔医院): 修改上传最大内存

matianxiang před 2 měsíci
rodič
revize
a819f1a136

+ 5 - 5
eitc-common/src/main/java/com/eitc/common/utils/ObjectUtils.java

@@ -7,7 +7,7 @@ import java.beans.PropertyDescriptor;
7 7
 import java.lang.reflect.InvocationTargetException;
8 8
 import java.lang.reflect.Method;
9 9
 
10
-import static sun.invoke.util.Wrapper.isPrimitiveType;
10
+//import static sun.invoke.util.Wrapper.isPrimitiveType;
11 11
 
12 12
 
13 13
 
@@ -34,10 +34,10 @@ public class ObjectUtils {
34 34
                     if(value==null) {
35 35
                         continue;
36 36
                     }
37
-                    if(isPrimitiveType(value.getClass()) && value instanceof String) {
38
-                        String changeValue = CryptoUtil.decrypt((String)value);
39
-                        writeMethod.invoke(obj, changeValue);
40
-                    }
37
+//                    if(isPrimitiveType(value.getClass()) && value instanceof String) {
38
+//                        String changeValue = CryptoUtil.decrypt((String)value);
39
+//                        writeMethod.invoke(obj, changeValue);
40
+//                    }
41 41
                 } catch (IllegalAccessException | InvocationTargetException e) {
42 42
                     e.printStackTrace();
43 43
                     log.error("反射获取类【" + objClass.getName() + "】方法异常,", e);

+ 1 - 1
eitc-common/src/main/java/com/eitc/common/utils/file/MimeTypeUtils.java

@@ -34,7 +34,7 @@ public class MimeTypeUtils
34 34
             // 压缩文件
35 35
             "rar", "zip", "gz", "bz2",
36 36
             // 视频格式
37
-            "mp4", "avi", "rmvb",
37
+            "mp4", "avi", "rmvb", "mov",
38 38
             // pdf
39 39
             "pdf" };
40 40