...
|
...
|
@@ -48,9 +48,7 @@ public class SearchLikeSecneController { |
|
|
Map<String, String> paramMap = HttpServletRequestUtils.transParamType(request);
|
|
|
int viewNum = MapUtils.getIntValue(paramMap, "viewNum", 10);
|
|
|
int uid = MapUtils.getIntValue(paramMap, "uid", 0);
|
|
|
if (uid % 1024 < 512) {
|
|
|
paramMap.put("use_yoho_image", "false");
|
|
|
} else {
|
|
|
if (uid % 1024 >= 512) {
|
|
|
paramMap.put("use_yoho_image", "true");
|
|
|
}
|
|
|
SearchApiResult result = searchLikeInShopService.searchLikeInShop(paramMap);
|
...
|
...
|
@@ -63,9 +61,7 @@ public class SearchLikeSecneController { |
|
|
Map<String, String> paramMap = HttpServletRequestUtils.transParamType(request);
|
|
|
int viewNum = MapUtils.getIntValue(paramMap, "viewNum", 10);
|
|
|
int uid = MapUtils.getIntValue(paramMap, "uid", 0);
|
|
|
if (uid % 1024 < 512) {
|
|
|
paramMap.put("use_yoho_image", "false");
|
|
|
} else {
|
|
|
if (uid % 1024 >= 512) {
|
|
|
paramMap.put("use_yoho_image", "true");
|
|
|
}
|
|
|
SearchApiResult result = searchLikeNotInShopService.searchLikeSimilarSknNotInShop(paramMap);
|
...
|
...
|
|