Showing
1 changed file
with
2 additions
and
2 deletions
@@ -49,7 +49,7 @@ public class SearchController { | @@ -49,7 +49,7 @@ public class SearchController { | ||
49 | * @param request | 49 | * @param request |
50 | * @return | 50 | * @return |
51 | */ | 51 | */ |
52 | - @RequestMapping(method = RequestMethod.GET, value = "/search") | 52 | + @RequestMapping(method = RequestMethod.GET, value = "/searchOld") |
53 | @ResponseBody | 53 | @ResponseBody |
54 | public Map<String, Object> searchProducts(HttpServletRequest request) { | 54 | public Map<String, Object> searchProducts(HttpServletRequest request) { |
55 | Map<String, String> paramMap = this.transParamType(request); | 55 | Map<String, String> paramMap = this.transParamType(request); |
@@ -66,7 +66,7 @@ public class SearchController { | @@ -66,7 +66,7 @@ public class SearchController { | ||
66 | * @param request | 66 | * @param request |
67 | * @return | 67 | * @return |
68 | */ | 68 | */ |
69 | - @RequestMapping(method = RequestMethod.GET, value = "/searchNew") | 69 | + @RequestMapping(method = RequestMethod.GET, value = "/search") |
70 | @ResponseBody | 70 | @ResponseBody |
71 | public Map<String, Object> searchProductsNew(HttpServletRequest request) { | 71 | public Map<String, Object> searchProductsNew(HttpServletRequest request) { |
72 | Map<String, String> paramMap = this.transParamType(request); | 72 | Map<String, String> paramMap = this.transParamType(request); |
-
Please register or login to post a comment