diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 0f7f21a1..e7b48f02 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -22,8 +22,8 @@ android { applicationId = "com.ssu.assu" minSdk = 24 targetSdk = 35 - versionCode = 3 - versionName = "3.0" + versionCode = 8 + versionName = "8.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" buildConfigField("String", "KAKAO_MAP_KEY", "${lp.getProperty("KAKAO_MAP_KEY")}") } diff --git a/app/src/main/java/com/ssu/assu/data/service/deviceToken/DeviceTokenService.kt b/app/src/main/java/com/ssu/assu/data/service/deviceToken/DeviceTokenService.kt index 5c69d037..446a0112 100644 --- a/app/src/main/java/com/ssu/assu/data/service/deviceToken/DeviceTokenService.kt +++ b/app/src/main/java/com/ssu/assu/data/service/deviceToken/DeviceTokenService.kt @@ -13,7 +13,7 @@ interface DeviceTokenService { @Query("token") token: String ): BaseResponse - @DELETE("/device-tokens/{token-id}") + @DELETE("/device-tokens/{tokenId}") suspend fun unregisterToken( @Path("token-id") tokenId: Long ): BaseResponse diff --git a/app/src/main/java/com/ssu/assu/data/service/inquiry/InquiryService.kt b/app/src/main/java/com/ssu/assu/data/service/inquiry/InquiryService.kt index 065e5226..a60bd4e7 100644 --- a/app/src/main/java/com/ssu/assu/data/service/inquiry/InquiryService.kt +++ b/app/src/main/java/com/ssu/assu/data/service/inquiry/InquiryService.kt @@ -11,19 +11,19 @@ import retrofit2.http.Path import retrofit2.http.Query interface InquiryService { - @POST("/member/inquiries") + @POST("/inquiries") suspend fun create( @Body body: InquiryCreateRequestDto ): BaseResponse - @GET("/member/inquiries") + @GET("/inquiries") suspend fun list( @Query("status") status: String = "all", @Query("page") page: Int = 1, @Query("size") size: Int = 20 ): BaseResponse - @GET("/member/inquiries/{inquiryId}") + @GET("/inquiries/{inquiryId}") suspend fun get( @Path("inquiryId") id: Long ): BaseResponse diff --git a/app/src/main/java/com/ssu/assu/data/service/notification/NotificationService.kt b/app/src/main/java/com/ssu/assu/data/service/notification/NotificationService.kt index fee5c5e7..5a629864 100644 --- a/app/src/main/java/com/ssu/assu/data/service/notification/NotificationService.kt +++ b/app/src/main/java/com/ssu/assu/data/service/notification/NotificationService.kt @@ -26,7 +26,7 @@ interface NotificationService { @Query("size") size: Int = 20 ): BaseResponse - @POST("/notifications/{notification-id}/read") + @POST("/notifications/{notificationId}/read") suspend fun markRead( @Path("notification-id") notificationId: Long ): BaseResponse diff --git a/app/src/main/java/com/ssu/assu/data/service/profileService/ProfileService.kt b/app/src/main/java/com/ssu/assu/data/service/profileService/ProfileService.kt index 10169522..07d6cc28 100644 --- a/app/src/main/java/com/ssu/assu/data/service/profileService/ProfileService.kt +++ b/app/src/main/java/com/ssu/assu/data/service/profileService/ProfileService.kt @@ -12,11 +12,11 @@ import retrofit2.http.Part interface ProfileService { @Multipart - @PUT("/member/profile/image") + @PUT("/members/me/profile-image") suspend fun uploadOrReplaceProfileImage( @Part image: MultipartBody.Part ): BaseResponse - @GET("/member/profile/image") + @GET("/members/me/profile-image") suspend fun getProfileImage(): BaseResponse } \ No newline at end of file