Skip to content

Commit

Permalink
Chore: delete git cash
Browse files Browse the repository at this point in the history
  • Loading branch information
oo-ni committed Jan 26, 2024
1 parent 4188f83 commit 7849f02
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ out/
### VS Code ###
.vscode/

### etc ###
# secret
secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

@RestController
@RequiredArgsConstructor
@RequestMapping("/items")
@RequestMapping("/api/items")
@Slf4j
public class ItemControllerImpl implements ItemController {

Expand Down Expand Up @@ -76,7 +76,6 @@ public ResponseEntity<List<PopularItemDto>> getPopularItems(@RequestBody List<Lo
}

@Override
@PutMapping("/{itemId}")
@Operation(summary = "상품 수정", description = "상품 ID에 해당하는 상품 정보를 수정합니다.")
public ResponseEntity<ItemResponseDto> updateItem(@PathVariable Long itemId, @RequestBody ItemUpdateDto itemUpdateDto) {
ItemResponseDto item = itemService.updateItem(itemId, itemUpdateDto);
Expand All @@ -86,7 +85,6 @@ public ResponseEntity<ItemResponseDto> updateItem(@PathVariable Long itemId, @Re
}

@Override
@DeleteMapping("/{itemId}")
@Operation(summary = "상품 삭제", description = "상품 ID에 해당하는 상품 정보를 삭제합니다.")
public ResponseEntity<Void> deleteItem(@PathVariable Long itemId) {
itemService.deleteItem(itemId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public ResponseEntity<ReviewResponseDto> updateReview(@PathVariable Long reviewI
}

@Override
@DeleteMapping("/{reviewId}")
@Operation(summary = "리뷰 삭제", description = "리뷰 정보를 시스템에서 제거합니다.")
public ResponseEntity<Void> deleteReview(@PathVariable Long reviewId) {
reviewService.deleteReview(reviewId);
Expand Down
1 change: 1 addition & 0 deletions src/main/java/kea/dpang/item/service/ItemService.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public interface ItemService {


void increaseStock(Long itemId, int quantity);

void decreaseStock(Long itemId, int quantity);

}
38 changes: 0 additions & 38 deletions src/main/resources/secret.yml

This file was deleted.

0 comments on commit 7849f02

Please sign in to comment.