Skip to content

Commit

Permalink
bug :: 버그수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSu1768 committed Jul 8, 2024
1 parent f74b8fa commit 6c5ef97
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@ import com.fasterxml.jackson.databind.PropertyNamingStrategies.SnakeCaseStrategy
import com.fasterxml.jackson.databind.annotation.JsonNaming
import org.springframework.cloud.openfeign.FeignClient
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody
import org.springframework.web.bind.annotation.RequestParam
import xquare.app.xquareinfra.infrastructure.feign.client.dsm.dto.GetDsmUserInfoResponse

@FeignClient(name = "dsm-login", url = "https://prod-server.xquare.app/dsm-login")
interface DsmLoginClient {
@GetMapping("/user/user-data")
@PostMapping("/user/user-data")
fun getUserInfo(@RequestBody dsmLoginRequest: DsmLoginRequest): GetDsmUserInfoResponse
}

@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy::class)
@JsonNaming(SnakeCaseStrategy::class)
data class DsmLoginRequest(
val accountId: String,
val password: String
Expand Down

0 comments on commit 6c5ef97

Please sign in to comment.