Beispiel #1
0
 public Dictionary <string, Object> GetProductList(int type, int pageIndex, int pageCount, string sorts, bool isASC, string agentID, bool sbool)
 {
     agentID = HttpUtility.UrlDecode(agentID, System.Text.UnicodeEncoding.GetEncoding("utf-8"));
     try
     {
         //1 新品 2 热销 3 促销 4 推荐商品
         var result = CommonRequest.ApiGetProductListByType(type, pageIndex, pageCount, sorts, isASC, agentID, sbool);
         return(result);
     }
     catch (Exception e)
     {
         logger.Error("根据推荐类型获取产品列表接口异常:" + e);
         return(null);
     }
 }