Skip to content

Commit

Permalink
Merge pull request #3 from GSM-MSG/feature/change-server-url
Browse files Browse the repository at this point in the history
🔀 :: 서버 URL 변경 및 API 수정
  • Loading branch information
khs3994 authored Oct 22, 2024
2 parents f8ebd96 + 405abfd commit d6db064
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import retrofit2.http.PATCH
import retrofit2.http.POST

interface GAuthAPI {
@POST("token")
@POST("oauth/token")
fun getGAuthToken(
@Body body: ServiceInfoDTO
): Call<TokenInfoDTO>

@PATCH("token")
@PATCH("oauth/token")
fun tokenRefresh(
@Header("refreshToken") refreshToken: String
): Call<TokenInfoDTO>

@POST("code")
@POST("oauth/code")
fun getCode(
@Body body: AccountInfoDTO
): Call<CodeInfoDTO>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory

object GAuthNetworkBuilder {
const val BASE_URL = "https://server.gauth.co.kr/oauth/"
const val GET_USET_INFO_BASE_URL = "https://open.gauth.co.kr/"
const val BASE_URL = "https://server-gauth.msg-team.com/"
const val GET_USET_INFO_BASE_URL = "https://resource-gauth.gsm-team.com/"

private val gAuthAPI = Retrofit.Builder()
.baseUrl(BASE_URL)
Expand Down

0 comments on commit d6db064

Please sign in to comment.