Skip to content

Commit

Permalink
Merge pull request #38 from MARKETFUBY/feat/product-detail
Browse files Browse the repository at this point in the history
[차소연] 상품 상세 조회 URI 변경
  • Loading branch information
Soyeon-Cha authored Nov 26, 2023
2 parents e30000f + 845a198 commit d4e3958
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public SearchDto getSearchList(@RequestParam String sword, @RequestParam(require
return productService.getSearchList(sword, sort, filters);
}

@GetMapping("/products/{productId}")
@GetMapping("/goods/{productId}")
@ResponseStatus(value = HttpStatus.OK)
public ProductDetailDto getProductDetail(@PathVariable Long productId, @RequestParam Long memberId){
Product product = productService.findProductById(productId);
Expand Down

0 comments on commit d4e3958

Please sign in to comment.