Update ProductController.java

This commit is contained in:
kimhyungkook
2019-11-14 16:31:52 +09:00
committed by GitHub
parent 1c70c8eaee
commit bd3193f72d

View File

@@ -16,8 +16,8 @@ public class ProductController {
return this.productService.getProductById(productId);
}
// @GetMapping("/product/{productId}")
// Product productStockCheck1(@PathVariable(value = "productId") Long productId) {
// return this.productService.getProductById(productId);
// }
@GetMapping("/product/{productId}")
Product productStockCheck1(@PathVariable(value = "productId") Long productId) {
return this.productService.getProductById(productId);
}
}