From 455e28083816b7eee9641692e572b74356207947 Mon Sep 17 00:00:00 2001 From: berlin-tzen Date: Wed, 8 Mar 2023 15:41:06 +0800 Subject: [PATCH] =?UTF-8?q?[WHAT]=20=E6=9B=B4=E6=94=B9FileService=20?= =?UTF-8?q?=E5=90=8D=E7=A8=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EuroTran/EasyBL.WEBAPP/EasyBL.WEBAPP.csproj | 1 + EuroTran/EasyBL.WEBAPP/ShowEasy/ExhibMaintain_QryService.cs | 4 ++-- .../ShowEasy/{FileService.cs => SEFileService.cs} | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) rename EuroTran/EasyBL.WEBAPP/ShowEasy/{FileService.cs => SEFileService.cs} (93%) diff --git a/EuroTran/EasyBL.WEBAPP/EasyBL.WEBAPP.csproj b/EuroTran/EasyBL.WEBAPP/EasyBL.WEBAPP.csproj index e128353..30e5303 100644 --- a/EuroTran/EasyBL.WEBAPP/EasyBL.WEBAPP.csproj +++ b/EuroTran/EasyBL.WEBAPP/EasyBL.WEBAPP.csproj @@ -127,6 +127,7 @@ + diff --git a/EuroTran/EasyBL.WEBAPP/ShowEasy/ExhibMaintain_QryService.cs b/EuroTran/EasyBL.WEBAPP/ShowEasy/ExhibMaintain_QryService.cs index 5a6f5f6..5c5d259 100644 --- a/EuroTran/EasyBL.WEBAPP/ShowEasy/ExhibMaintain_QryService.cs +++ b/EuroTran/EasyBL.WEBAPP/ShowEasy/ExhibMaintain_QryService.cs @@ -1448,7 +1448,7 @@ namespace EasyBL.WEBAPP.SYS var ExhibLogoFile = FileDic.Values.Where(w => w.ParentID == Exhibition.Logo).FirstOrDefault(); if (ExhibLogoFile != null) { - rsExhibition.Logo = FileService.FilePathToURL(ExhibLogoFile.FilePath); + rsExhibition.Logo = SEFileService.FilePathToURL(ExhibLogoFile.FilePath); } if (!string.IsNullOrEmpty(Exhibition.MainCategoryIDs)) @@ -1576,7 +1576,7 @@ namespace EasyBL.WEBAPP.SYS ImageDTO Image = new ImageDTO(); - Image.ImageLink = FileService.FilePathToURL(File.FilePath); + Image.ImageLink = SEFileService.FilePathToURL(File.FilePath); Image.ImageName = File.FileName; rsExhibition.Images.Add(Image); diff --git a/EuroTran/EasyBL.WEBAPP/ShowEasy/FileService.cs b/EuroTran/EasyBL.WEBAPP/ShowEasy/SEFileService.cs similarity index 93% rename from EuroTran/EasyBL.WEBAPP/ShowEasy/FileService.cs rename to EuroTran/EasyBL.WEBAPP/ShowEasy/SEFileService.cs index 196b422..f5fda91 100644 --- a/EuroTran/EasyBL.WEBAPP/ShowEasy/FileService.cs +++ b/EuroTran/EasyBL.WEBAPP/ShowEasy/SEFileService.cs @@ -14,7 +14,7 @@ using System.Web; namespace EasyBL.WEBAPP.SYS { - public class FileService : ServiceBase + public class SEFileService : ServiceBase { public static string FilePathToURL(string sPath) {