Browse Source

[WHAT] 更改FileService 名稱

Dev
berlin-tzen 2 years ago
parent
commit
455e280838
  1. 1
      EuroTran/EasyBL.WEBAPP/EasyBL.WEBAPP.csproj
  2. 4
      EuroTran/EasyBL.WEBAPP/ShowEasy/ExhibMaintain_QryService.cs
  3. 2
      EuroTran/EasyBL.WEBAPP/ShowEasy/SEFileService.cs

1
EuroTran/EasyBL.WEBAPP/EasyBL.WEBAPP.csproj

@ -127,6 +127,7 @@
<Compile Include="ShowEasy\ExhibStatService.cs" />
<Compile Include="ShowEasy\ExhibInfoService.cs" />
<Compile Include="ShowEasy\FavoriteMaintain_UpdService.cs" />
<Compile Include="ShowEasy\FileService.cs" />
<Compile Include="ShowEasy\PaymentMaintain_QryService.cs" />
<Compile Include="ShowEasy\LocationService.cs" />
<Compile Include="ShowEasy\ExhibMediaMaintain_UpdService.cs" />

4
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);

2
EuroTran/EasyBL.WEBAPP/ShowEasy/FileService.cs → 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)
{
Loading…
Cancel
Save