Skip to content

Commit

Permalink
feat: 소스 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hjj4060 committed Sep 23, 2024
1 parent 32054b6 commit cb42374
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class MemberServiceApplication(
accountService.updateDeletedAt(memberId, MemberRole.USER)
}

@Transactional
fun signUp(createMemberRequest: CreateMemberRequest): Long {
//인증번호 확인
authenticationService.verifyEmailCertifyNum(createMemberRequest.email, createMemberRequest.certifyNum)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class MemberServiceImpl(
override fun getMemberById(memberId: Long): MemberResponse {
log.info { "회원 상세 조회 memberId = ${memberId}" }

return memberRepository.findByMemberId(memberId)?.let { member ->
return memberRepository.findByIdOrNull(memberId)?.let { member ->
MemberResponse(
memberId = member.memberId!!,
name = member.name,
Expand Down
16 changes: 16 additions & 0 deletions src/test/kotlin/org/store/clothstar/common/config/VaultDataTest.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.store.clothstar.common.config

import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Value
import org.springframework.boot.test.context.SpringBootTest

@SpringBootTest
class VaultDataTest {
@Value("\${email.send}")
lateinit var email: String

@Test
fun demoTest() {
println("email : ${email}")
}
}

0 comments on commit cb42374

Please sign in to comment.