-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 상품 상세정보, 연관상품, 클릭수, 노출수 API 분리 (#236)
* refactor: 상품 상세정보 조회에서 연관 상품 조회 API 분리 * refactor: 상품 상세정보 및 목록 조회에서 클릭수, 노출수 증가 API 분리 * refactor: import 정리 * refactor: 상품 상세정보, 연관상품, 클릭수, 노출수 API 분리 * style: 불필요 import 제거 * refactor: 테스트 코드 수정
- Loading branch information
Showing
18 changed files
with
285 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/com/woowacamp/soolsool/core/liquor/dto/liquorCtr/LiquorClickAddRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.woowacamp.soolsool.core.liquor.dto.liquorCtr; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class LiquorClickAddRequest { | ||
|
||
private final Long liquorId; | ||
|
||
@JsonCreator | ||
public LiquorClickAddRequest(final Long liquorId) { | ||
this.liquorId = liquorId; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...dto/response/LiquorCtrDetailResponse.java → ...to/liquorCtr/LiquorCtrDetailResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...ain/java/com/woowacamp/soolsool/core/liquor/dto/liquorCtr/LiquorImpressionAddRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.woowacamp.soolsool.core.liquor.dto.liquorCtr; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import java.util.List; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class LiquorImpressionAddRequest { | ||
|
||
private final List<Long> liquorIds; | ||
|
||
@JsonCreator | ||
public LiquorImpressionAddRequest(final List<Long> liquorIds) { | ||
this.liquorIds = liquorIds; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.