|
@@ -57,7 +57,7 @@ public class ProductSearchController { |
|
@@ -57,7 +57,7 @@ public class ProductSearchController { |
57
|
@RequestParam(value = "query", required = false)String query,
|
57
|
@RequestParam(value = "query", required = false)String query,
|
58
|
@RequestParam(value = "limit", required = false)Integer limit,
|
58
|
@RequestParam(value = "limit", required = false)Integer limit,
|
59
|
@RequestParam(value = "page", required = false)Integer page,
|
59
|
@RequestParam(value = "page", required = false)Integer page,
|
60
|
- @RequestParam(value = "app_version", required = true)String appVersion
|
60
|
+ @RequestParam(value = "app_version", required = false)String appVersion
|
61
|
) {
|
61
|
) {
|
62
|
if (type != null) {
|
62
|
if (type != null) {
|
63
|
Map<Integer,Integer> poolConfig = ufoServiceCaller.call("ufo.resource.goodsPool", Map.class);
|
63
|
Map<Integer,Integer> poolConfig = ufoServiceCaller.call("ufo.resource.goodsPool", Map.class);
|
|
@@ -114,7 +114,8 @@ public class ProductSearchController { |
|
@@ -114,7 +114,8 @@ public class ProductSearchController { |
114
|
@RequestParam(value = "gender", required = false) String gender,
|
114
|
@RequestParam(value = "gender", required = false) String gender,
|
115
|
@RequestParam(value = "size", required = false) String size,
|
115
|
@RequestParam(value = "size", required = false) String size,
|
116
|
@RequestParam(value = "isSoonSale", required = false) String isSoonSale,
|
116
|
@RequestParam(value = "isSoonSale", required = false) String isSoonSale,
|
117
|
- @RequestParam(value = "query", required = false)String query
|
117
|
+ @RequestParam(value = "query", required = false)String query,
|
|
|
118
|
+ @RequestParam(value = "app_version", required = false)String appVersion
|
118
|
) {
|
119
|
) {
|
119
|
|
120
|
|
120
|
|
121
|
|
|
@@ -122,6 +123,7 @@ public class ProductSearchController { |
|
@@ -122,6 +123,7 @@ public class ProductSearchController { |
122
|
ProductSearchReq req = new ProductSearchReq().setPool(productPool).setBrand(brand).setMidSort(sortIdLevel.getMidSortId()).setMaxSort(sortIdLevel.getMaxSortId())
|
123
|
ProductSearchReq req = new ProductSearchReq().setPool(productPool).setBrand(brand).setMidSort(sortIdLevel.getMidSortId()).setMaxSort(sortIdLevel.getMaxSortId())
|
123
|
.setSeries(series).setGender(gender).setSize(size).setIsSoonSale(isSoonSale);
|
124
|
.setSeries(series).setGender(gender).setSize(size).setIsSoonSale(isSoonSale);
|
124
|
searchHelpService.setQuery(query, req);
|
125
|
searchHelpService.setQuery(query, req);
|
|
|
126
|
+ searchHelpService.setContainYoho(appVersion, req);
|
125
|
LOG.info("in method=ufo.product.search.list req={}", req.toString());
|
127
|
LOG.info("in method=ufo.product.search.list req={}", req.toString());
|
126
|
|
128
|
|
127
|
SearchProductListFilterResp resp = productSearchService.searchProductListFilter(req);
|
129
|
SearchProductListFilterResp resp = productSearchService.searchProductListFilter(req);
|