Ejemplo n.º 1
0
 /// <summary>
 /// 根据类别查询品牌名称
 /// </summary>
 /// <param name="category"></param>
 /// <returns></returns>
 public string[] GetProductPrioritySettingsBrand(string category)
 {
     try
     {
         return(TuhuProductcatalogReadDbScopeManager.Execute(conn =>
         {
             return DalProduct.GetProductBrand(conn, category);
         }));
     }
     catch (Exception ex)
     {
         logger.Error(ex.Message, ex);
     }
     return(null);
 }