Skip to content

Commit

Permalink
[Feature/380] 앱 업데이트 버전을 조회하는 API를 구현한다 (#387)
Browse files Browse the repository at this point in the history
* feat: 앱 업데이트 버전을 조회하는 API를 구현한다

* feat: api 설명 달기
  • Loading branch information
injoon2019 authored Sep 4, 2024
1 parent 3b7a864 commit ed21e9f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,12 @@ class AuthController(
fun insertFcmToken(@AuthUserId userId: Long, @RequestBody fcmUpdateRequest: FcmUpdateRequest) {
authFacade.updateFcmToken(userId, fcmUpdateRequest.fcmToken)
}

@ApiOperation("업데이트 해야하는 앱 버전 조회")
@PostMapping("/app-version")
fun getUpdateAppVersion(): UpdateAppVersionResponse {
return UpdateAppVersionResponse(

)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.nexters.bottles.api.auth.facade.dto

data class UpdateAppVersionResponse(
val minimumIosVersion: String? = null, // 이 버전 미만이면 강제 업데이트를 해야합니다
val minimumAndroidVersion: String? = null,
) {
}

0 comments on commit ed21e9f

Please sign in to comment.