|
@@ -31,8 +31,8 @@ public class RedirectController {
|
|
|
* 供应商商品页【旧】
|
|
|
*/
|
|
|
@GetMapping("/supplier/productlist-{id}.html")
|
|
|
- public String toSupplierProduct(@PathVariable("id") Integer supplierId, @RequestParam("brandID") Integer brandId) {
|
|
|
- return "redirect:/supplier/product.html?id=" + supplierId +"&brandId=" + brandId;
|
|
|
+ public String toSupplierProduct(@PathVariable("id") Integer supplierId) {
|
|
|
+ return "redirect:/supplier/index.html?id=" + supplierId;
|
|
|
}
|
|
|
/**
|
|
|
* 二级页面(找产品/找仪器/找项目/正品联盟)【旧】
|
|
@@ -108,5 +108,17 @@ public class RedirectController {
|
|
|
return "redirect:/flea-market/form.html";
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 商品搜索列表
|
|
|
+ */
|
|
|
+ @GetMapping("/product/search/list/0-0-0-1-0.html")
|
|
|
+ public String toSearchProduct(@RequestParam("wd") String keyword) {
|
|
|
+ return "redirect:/product/list.html?keyword=" + keyword;
|
|
|
+ }
|
|
|
+ @GetMapping("/product/search.shtml")
|
|
|
+ public String toSearchProduct2(@RequestParam("keyword") String keyword) {
|
|
|
+ return "redirect:/product/list.html?keyword=" + keyword;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|