Update ProductController.java

This commit is contained in:
kimhyungkook
2019-11-06 10:37:11 +09:00
committed by GitHub
parent 3f8abaa58c
commit 68c5afc0ba

View File

@@ -11,7 +11,7 @@ public class ProductController {
@Autowired
ProductService productService;
@GetMapping("/items/{productId}")
@GetMapping("/product/{productId}")
Product productStockCheck(@PathVariable(value = "productId") Long productId) {
return this.productService.getProductById(productId);
}