Browse Source

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

matianxiang 2 months ago
parent
commit
a819f1a136

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

@@ -7,7 +7,7 @@ import java.beans.PropertyDescriptor;
7
 import java.lang.reflect.InvocationTargetException;
7
 import java.lang.reflect.InvocationTargetException;
8
 import java.lang.reflect.Method;
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
                     if(value==null) {
34
                     if(value==null) {
35
                         continue;
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
                 } catch (IllegalAccessException | InvocationTargetException e) {
41
                 } catch (IllegalAccessException | InvocationTargetException e) {
42
                     e.printStackTrace();
42
                     e.printStackTrace();
43
                     log.error("反射获取类【" + objClass.getName() + "】方法异常,", e);
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
             "rar", "zip", "gz", "bz2",
35
             "rar", "zip", "gz", "bz2",
36
             // 视频格式
36
             // 视频格式
37
-            "mp4", "avi", "rmvb",
37
+            "mp4", "avi", "rmvb", "mov",
38
             // pdf
38
             // pdf
39
             "pdf" };
39
             "pdf" };
40
 
40