Exemple #1
0
 /// <summary>
 /// 搜索店铺商品
 /// </summary>
 /// <param name="pageSize">每页数</param>
 /// <param name="pageNumber">当前页数</param>
 /// <param name="keyword">关键词</param>
 /// <param name="storeId">店铺id</param>
 /// <param name="storeCid">店铺分类id</param>
 /// <param name="startPrice">开始价格</param>
 /// <param name="endPrice">结束价格</param>
 /// <param name="sortColumn">排序列</param>
 /// <param name="sortDirection">排序方向</param>
 /// <returns></returns>
 public static List <PartProductInfo> SearchStoreProducts(int pageSize, int pageNumber, string keyword, int storeId, int storeCid, int startPrice, int endPrice, int sortColumn, int sortDirection)
 {
     return(_isearchstrategy.SearchStoreProducts(pageSize, pageNumber, keyword, storeId, storeCid, startPrice, endPrice, sortColumn, sortDirection));
 }
Exemple #2
0
 /// <summary>
 /// 搜索店铺商品
 /// </summary>
 /// <param name="pageSize">每页数</param>
 /// <param name="pageNumber">当前页数</param>
 /// <param name="word">搜索词</param>
 /// <param name="storeId">店铺id</param>
 /// <param name="storeCid">店铺分类id</param>
 /// <param name="startPrice">开始价格</param>
 /// <param name="endPrice">结束价格</param>
 /// <param name="sortColumn">排序列</param>
 /// <param name="sortDirection">排序方向</param>
 /// <param name="totalCount">商品总数量</param>
 /// <param name="productList">商品列表</param>
 public static void SearchStoreProducts(int pageSize, int pageNumber, string word, int storeId, int storeCid, int startPrice, int endPrice, int sortColumn, int sortDirection, ref int totalCount, ref List <PartProductInfo> productList)
 {
     _isearchstrategy.SearchStoreProducts(pageSize, pageNumber, word, storeId, storeCid, startPrice, endPrice, sortColumn, sortDirection, ref totalCount, ref productList);
 }