From d86bc04d0b34f2b7d9ddbd30ee703b51d48876e8 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 05 二月 2025 09:51:15 +0800
Subject: [PATCH] 修改审核中员工排在前边

---
 cylsg/EzUpFile/EzFileUploadService.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/cylsg/EzUpFile/EzFileUploadService.cs b/cylsg/EzUpFile/EzFileUploadService.cs
index da61bfd..f745f2e 100644
--- a/cylsg/EzUpFile/EzFileUploadService.cs
+++ b/cylsg/EzUpFile/EzFileUploadService.cs
@@ -302,7 +302,7 @@
 
                 if (FileData.Length > maxSize)
                 {
-                    throw Oops.Oh(" 涓婁紶鏂囦欢涓嶅彲瓒呭嚭500K");
+                    throw Oops.Oh(" 涓婁紶鏂囦欢涓嶅彲瓒呭嚭5M");
                 }
 
 
@@ -316,13 +316,13 @@
                 }
 
                 MemoryStream ms = new MemoryStream();
-                if (oimage.Width > 600)
+                if (oimage.Width > 1200)
 
                 {
                     if (oimage.Width > oimage.Height)
-                        oimage.GetThumbnailImage(600, 400, null, IntPtr.Zero).Save(ms, System.Drawing.Imaging.ImageFormat.Png);
+                        oimage.GetThumbnailImage(1200, 800, null, IntPtr.Zero).Save(ms, System.Drawing.Imaging.ImageFormat.Png);
                     else
-                        oimage.GetThumbnailImage(400, 600, null, IntPtr.Zero).Save(ms, System.Drawing.Imaging.ImageFormat.Png);
+                        oimage.GetThumbnailImage(800, 1200, null, IntPtr.Zero).Save(ms, System.Drawing.Imaging.ImageFormat.Png);
                 }
                 else
                     oimage.Save(ms, System.Drawing.Imaging.ImageFormat.Png);
@@ -385,13 +385,13 @@
                 }
 
                 MemoryStream ms = new MemoryStream();
-                if (oimage.Width > 600)
+                if (oimage.Width > 1200)
 
                 {
                     if (oimage.Width > oimage.Height)
-                        oimage.GetThumbnailImage(600, 400, null, IntPtr.Zero).Save(ms, System.Drawing.Imaging.ImageFormat.Png);
+                        oimage.GetThumbnailImage(1200, 800, null, IntPtr.Zero).Save(ms, System.Drawing.Imaging.ImageFormat.Png);
                     else
-                        oimage.GetThumbnailImage(400, 600, null, IntPtr.Zero).Save(ms, System.Drawing.Imaging.ImageFormat.Png);
+                        oimage.GetThumbnailImage(800, 1200, null, IntPtr.Zero).Save(ms, System.Drawing.Imaging.ImageFormat.Png);
                 }
                 else
                     oimage.Save(ms, System.Drawing.Imaging.ImageFormat.Png);

--
Gitblit v1.9.1