Browse Source

仪器页面

Aslee 4 years ago
parent
commit
ef77350a30

+ 17 - 0
src/main/java/com/caimei/www/controller/unlimited/ProductController.java

@@ -22,6 +22,8 @@ public class ProductController extends BaseController {
 	private static final String PRODUCT_LIST_PATH = "product/list";
 	private static final String PRODUCT_DETAIL_PATH = "product/detail";
 	private static final String PROMOTIONS_LIST_PATH = "product/promotions";
+    private static final String INSTRUMENT_PAGE_PATH = "product/instrument";
+    private static final String INSTRUMENT_LIST_PATH = "product/instruelist";
 
     private ProductService productService;
     @Autowired
@@ -59,4 +61,19 @@ public class ProductController extends BaseController {
         return PRODUCT_DETAIL_PATH;
     }
 
+    /**
+     * 仪器页
+     */
+    @GetMapping("/product/instrument.html")
+    public String instrument(){
+        return INSTRUMENT_PAGE_PATH;
+    }
+
+    /**
+     * 仪器列表页
+     */
+    @GetMapping("/product/instruelist.html")
+    public String instruelist(){
+        return INSTRUMENT_LIST_PATH;
+    }
 }