feature/fetch_userinfo #85
|
@ -1,9 +1,11 @@
|
||||||
package one.nem.kidshift.data.retrofit;
|
package one.nem.kidshift.data.retrofit;
|
||||||
|
|
||||||
|
import one.nem.kidshift.data.retrofit.model.parent.ParentInfoResponse;
|
||||||
import one.nem.kidshift.data.retrofit.model.parent.auth.ParentLoginRequest;
|
import one.nem.kidshift.data.retrofit.model.parent.auth.ParentLoginRequest;
|
||||||
import one.nem.kidshift.data.retrofit.model.parent.auth.ParentLoginResponse;
|
import one.nem.kidshift.data.retrofit.model.parent.auth.ParentLoginResponse;
|
||||||
import retrofit2.Call;
|
import retrofit2.Call;
|
||||||
import retrofit2.http.Body;
|
import retrofit2.http.Body;
|
||||||
|
import retrofit2.http.GET;
|
||||||
import retrofit2.http.POST;
|
import retrofit2.http.POST;
|
||||||
|
|
||||||
public interface KidShiftApiService {
|
public interface KidShiftApiService {
|
||||||
|
@ -11,4 +13,7 @@ public interface KidShiftApiService {
|
||||||
@POST("/parent/auth/login")
|
@POST("/parent/auth/login")
|
||||||
Call<ParentLoginResponse> parentLogin(@Body ParentLoginRequest request);
|
Call<ParentLoginResponse> parentLogin(@Body ParentLoginRequest request);
|
||||||
|
|
||||||
|
@GET("/parent/account")
|
||||||
|
Call<ParentInfoResponse> getParentInfo();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user