fix apiservice

This commit is contained in:
shaulascr
2025-05-14 21:47:24 +07:00
parent afd2819192
commit 0ad1d7b9f2
2 changed files with 14 additions and 5 deletions

View File

@ -0,0 +1,9 @@
package com.alya.ecommerce_serang.data.api.response.auth
import com.google.gson.annotations.SerializedName
data class CheckStoreResponse(
@field:SerializedName("hasStore")
val hasStore: Boolean
)

View File

@ -85,11 +85,11 @@ interface ApiService {
@GET("checkstore")
suspend fun checkStore (): Response<CheckStoreResponse>
@Multipart
@POST("registerstore")
suspend fun registerStore(
): Response<>
// @Multipart
// @POST("registerstore")
// suspend fun registerStore(
//
// ): Response<>
@POST("otp")
suspend fun getOTP(