This commit is contained in:
kimscott
2019-11-12 10:16:18 +09:00
parent 656150d27a
commit aa3cb337d7

View File

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