Exemple #1
0
 public int UpdateShopBanner(ShopAppBanner banner)
 {
     try
     {
         return(handler.UpdateShopBanner(banner));
     }
     catch (Exception ex)
     {
         var exception = new ShopsException(0, "修改App首页图片配置失败!", ex);
         logger.Log(Level.Error, exception, "Error in UpdateShopBanner.");
         throw exception;
     }
 }
Exemple #2
0
 public ShopAppBanner GetAppShopBannerByPKID(int _PKID)
 {
     try
     {
         return(handler.GetAppShopBannerByPKID(_PKID));
     }
     catch (Exception ex)
     {
         var exception = new ShopsException(0, "更加ID查看App首页图片配置失败!", ex);
         logger.Log(Level.Error, exception, "Error in GetAppShopBannerByPKID.");
         throw exception;
     }
 }
Exemple #3
0
 public int DeleteShopBannerByPKID(int PKID)
 {
     try
     {
         return(handler.DeleteShopBannerByPKID(PKID));
     }
     catch (Exception ex)
     {
         var exception = new ShopsException(0, "删除App首页图片配置失败!", ex);
         logger.Log(Level.Error, exception, "Error in DeleteShopBannerByPKID.");
         throw exception;
     }
 }
Exemple #4
0
 public List <ShopAppBanner> GetShopAppBannerList()
 {
     try
     {
         return(handler.GetShopAppBannerList());
     }
     catch (Exception ex)
     {
         var exception = new ShopsException(0, "查看App首页图片配置失败!", ex);
         logger.Log(Level.Error, exception, "Error in GetShopAppBannerList.");
         throw exception;
     }
 }