|
|
@@ -6,13 +6,17 @@ package kr.co.zumo.app.lifeplus.network.api;
|
|
|
import io.reactivex.Single;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.AuthConfirmBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.AuthNumberBean;
|
|
|
+import kr.co.zumo.app.lifeplus.bean.api.CategoryBannerResultBean;
|
|
|
+import kr.co.zumo.app.lifeplus.bean.api.CategoryContentsResultBean;
|
|
|
+import kr.co.zumo.app.lifeplus.bean.api.CategoryRecommendResultBean;
|
|
|
+import kr.co.zumo.app.lifeplus.bean.api.CategoryRequestBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.CodeRequestBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.CodeResultBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.CoinResultBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.FAQResultBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.LifeplusAPIBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.LoginResultBean;
|
|
|
-import kr.co.zumo.app.lifeplus.bean.api.MainCategoryContentsResultBean;
|
|
|
+import kr.co.zumo.app.lifeplus.bean.api.MainContentsResultBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.MemberJoinRequestBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.MemberJoinResultBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.NotificationResultBean;
|
|
|
@@ -145,11 +149,53 @@ public class LifeplusAPIService extends RetrofitService implements LifeplusAPI {
|
|
|
return api(AUTH_URL).updateUnRestMember(bean);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 메인 컨텐츠
|
|
|
+ *
|
|
|
+ * @param bean
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@Override
|
|
|
- public Single<MainCategoryContentsResultBean> getMainContents(RequestBean bean) {
|
|
|
+ public Single<MainContentsResultBean> getMainContents(RequestBean bean) {
|
|
|
return api(AUTH_URL).getMainContents(bean);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 카테고리 메인 - 추천 컨텐츠
|
|
|
+ *
|
|
|
+ * @param bean
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public Single<CategoryRecommendResultBean> getCategoryRecommendContents(CategoryRequestBean bean) {
|
|
|
+ return api(AUTH_URL).getCategoryRecommendContents(bean);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 카테고리 메인 - 배너
|
|
|
+ *
|
|
|
+ * @param bean
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public Single<CategoryBannerResultBean> getCategoryBanner(CategoryRequestBean bean) {
|
|
|
+ return api(AUTH_URL).getCategoryBanner(bean);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 카테고리 메인 - 컨텐츠
|
|
|
+ *
|
|
|
+ * @param bean
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public Single<CategoryContentsResultBean> getCategoryContents(CategoryRequestBean bean) {
|
|
|
+ return api(AUTH_URL).getCategoryContents(bean);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ //------------------------------------------------------------------------------------------------------------
|
|
|
+
|
|
|
/**
|
|
|
* 스페셜 / 추천인 코드 가져오기
|
|
|
*
|