-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/#49 follow api #52
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μκ³ νμ ¨μ΄μ!
MemberDTO.FollowRP response= followCommandService.followCheck(request); | ||
|
||
return BaseResponse.onSuccess(SuccessStatus.MEMBER_SUCCESS, response); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μΈμ€νκ·Έλ¨ μ²λΌ νμμ μ‘°νν κ²½μ° νλ‘μ°λ₯Ό νκ³ μλμ§ μμμΌ ν κ² κ°μμ.
λ°λΌμ, νμ μ‘°ν APIμ Responseμ "isFollowing"κ³Ό κ°μ΄ νλ‘μ° μ€μΈμ§ μ 보λ₯Ό λμ Έμ£Όμ΄μΌ ν κ² κ°μμ!
μ΄λ μλ‘μ΄ APIκ° μλ νμ μ‘°νμ μ°μ μ μΌλ‘ μΆκ°κ° λμ΄μΌ νλ€κ³ μκ°ν©λλ€!
- νμμ μ‘°ννλ©΄ νλ‘μ° μ λ³΄κ° λ μΌ νκΈ° λλ¬Έμ νμ μ‘°ν APIμ isFollowingμ μΆκ°μ μΌλ‘ μλ €μ€μΌν¨.
- νμ μ‘°ν -> νλ‘μ° κΈ°λ₯μ΄ νΈμΆλλ μμλ‘ μ§νλκΈ° λλ¬Έμ νλ‘μ°APIμμ isFollowingμ μ 보λ₯Ό λ°λλ‘ ν μ μλ€.
- isFollowingμ μ 보λ₯Ό λ°νμΌλ‘ νλ‘μ° μνλ₯Ό λ³ννλ€(λ ν¬μ§ν 리λ₯Ό λ³΄κ³ νλ‘μ° μ 보λ₯Ό νμΈ νλ λΆλΆμ κ²μ¦μΌλ‘ λ체).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μκ³ νμ ¨μ΅λλ€
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
public class MemberResponseDTO { | ||
public class MemberDTO { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MemberResponseDTOμμ μμ νμ μ΄μ κ° μμκΉμ??
π μ°κ΄ μ΄μ
π± PR μμ½
π μμ λ΄μ©
(μ€λ₯ κ°λ₯μ± : νλ‘μ°μμ΄λ/νλ‘μ μμ΄λλ₯Ό κ°μκ±Έλ‘ μ λ ₯νμλ, μλ μμ΄λλ₯Ό μ λ ₯νμλ)
(μ€λ₯ κ°λ₯μ± : μλ μμ΄λλ₯Ό μ λ ₯νμλ)
πΈ μ€ν¬λ¦°μ·
<νλ‘μ°/μΈνλ‘μ°>
<νλ‘μ° μ‘°ν>
βοΈλ¦¬λ·°μ΄λ€κ»