mirror of
https://github.com/shaulascr/ecommerce_serang.git
synced 2025-08-13 18:52:20 +00:00
fix apiservice
This commit is contained in:
@ -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
|
||||||
|
)
|
@ -85,11 +85,11 @@ interface ApiService {
|
|||||||
@GET("checkstore")
|
@GET("checkstore")
|
||||||
suspend fun checkStore (): Response<CheckStoreResponse>
|
suspend fun checkStore (): Response<CheckStoreResponse>
|
||||||
|
|
||||||
@Multipart
|
// @Multipart
|
||||||
@POST("registerstore")
|
// @POST("registerstore")
|
||||||
suspend fun registerStore(
|
// suspend fun registerStore(
|
||||||
|
//
|
||||||
): Response<>
|
// ): Response<>
|
||||||
|
|
||||||
@POST("otp")
|
@POST("otp")
|
||||||
suspend fun getOTP(
|
suspend fun getOTP(
|
||||||
|
Reference in New Issue
Block a user