Commit d68c6994 authored by mengcuiguang's avatar mengcuiguang

接口修改

parent 18a2ee1a
...@@ -95,6 +95,6 @@ public class UserBean implements Serializable { ...@@ -95,6 +95,6 @@ public class UserBean implements Serializable {
} }
public int getActiviteFlag() { public int getActiviteFlag() {
return activiteFlag; return 1;
} }
} }
...@@ -91,7 +91,7 @@ public interface LoanService { ...@@ -91,7 +91,7 @@ public interface LoanService {
/** /**
* 查询vip产品 * 查询vip产品
*/ */
@POST("api/vip/getVipProducts") @POST("api/vip/getVipProducts/appv2")
Observable<BaseResponse<VipBean>> getVipProducts(@Body Map<String, Object> vo); Observable<BaseResponse<VipBean>> getVipProducts(@Body Map<String, Object> vo);
/** /**
...@@ -155,7 +155,7 @@ public interface LoanService { ...@@ -155,7 +155,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/unlock") @POST("api/vedioV1/unlock")
Observable<BaseResponse<IndexList>> unlock(@Body Map<String, Object> vo); Observable<BaseResponse<IndexList>> unlock(@Body Map<String, Object> vo);
/** /**
...@@ -163,7 +163,7 @@ public interface LoanService { ...@@ -163,7 +163,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/types") @POST("api/vedioV1/types")
Observable<BaseResponse<HotStyleTypesList>> getHomeV1Types(); Observable<BaseResponse<HotStyleTypesList>> getHomeV1Types();
/** /**
...@@ -171,7 +171,7 @@ public interface LoanService { ...@@ -171,7 +171,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/listByType") @POST("api/vedioV1/listByType")
Observable<BaseResponse<BannerList>> getHomeV1List(@Body Map<String, Object> vo); Observable<BaseResponse<BannerList>> getHomeV1List(@Body Map<String, Object> vo);
/** /**
...@@ -179,7 +179,7 @@ public interface LoanService { ...@@ -179,7 +179,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/feedback") @POST("api/vedioV1/feedback")
Observable<BaseResponse<Object>> feedback(@Body Map<String, Object> vo); Observable<BaseResponse<Object>> feedback(@Body Map<String, Object> vo);
/** /**
...@@ -187,7 +187,7 @@ public interface LoanService { ...@@ -187,7 +187,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/topTabs/v0821") @POST("api/vedioV1/topTabs/v0821")
Observable<BaseResponse<BannerList>> topTabs(); Observable<BaseResponse<BannerList>> topTabs();
/** /**
...@@ -195,7 +195,7 @@ public interface LoanService { ...@@ -195,7 +195,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/orders") @POST("api/vedioV1/orders")
Observable<BaseResponse<BannerList>> orders(); Observable<BaseResponse<BannerList>> orders();
...@@ -204,7 +204,7 @@ public interface LoanService { ...@@ -204,7 +204,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/getIndexList") @POST("api/vedioV1/getIndexList")
Observable<BaseResponse<IndexList>> getIndexList(@Body Map<String, Object> vo); Observable<BaseResponse<IndexList>> getIndexList(@Body Map<String, Object> vo);
/** /**
...@@ -212,7 +212,7 @@ public interface LoanService { ...@@ -212,7 +212,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/getIndexList") @POST("api/vedioV1/getIndexList")
Observable<BaseResponse<IndexList>> getIndexList2(@Body Map<String, Object> vo); Observable<BaseResponse<IndexList>> getIndexList2(@Body Map<String, Object> vo);
/** /**
...@@ -220,7 +220,7 @@ public interface LoanService { ...@@ -220,7 +220,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/getIndex") @POST("api/vedioV1/getIndex")
Observable<BaseResponse<Object>> getIndex(@Body Map<String, Object> vo); Observable<BaseResponse<Object>> getIndex(@Body Map<String, Object> vo);
/** /**
...@@ -228,7 +228,7 @@ public interface LoanService { ...@@ -228,7 +228,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/collect") @POST("api/vedioV1/collect")
Observable<BaseResponse<Object>> collect(@Body Map<String, Object> vo); Observable<BaseResponse<Object>> collect(@Body Map<String, Object> vo);
/** /**
...@@ -236,7 +236,7 @@ public interface LoanService { ...@@ -236,7 +236,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/cancelCollect") @POST("api/vedioV1/cancelCollect")
Observable<BaseResponse<Object>> cancelCollect(@Body Map<String, Object> vo); Observable<BaseResponse<Object>> cancelCollect(@Body Map<String, Object> vo);
/** /**
...@@ -244,7 +244,7 @@ public interface LoanService { ...@@ -244,7 +244,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/collectList") @POST("api/vedioV1/collectList")
Observable<BaseResponse<BannerList>> collectList(); Observable<BaseResponse<BannerList>> collectList();
/** /**
...@@ -260,73 +260,73 @@ public interface LoanService { ...@@ -260,73 +260,73 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api/vedio/history") @POST("api/vedioV1/history")
Observable<BaseResponse<BannerList>> history(); Observable<BaseResponse<BannerList>> history();
/** /**
* 提交视频信息 * 提交视频信息
*/ */
@POST("api/vedio/reportIndex") @POST("api/vedioV1/reportIndex")
Observable<BaseResponse<Object>> reportIndex(@Body Map<String, Object> vo); Observable<BaseResponse<Object>> reportIndex(@Body Map<String, Object> vo);
/** /**
* 推荐 * 推荐
*/ */
@POST("api/vedio/autoList") @POST("api/vedioV1/autoList")
Observable<BaseResponse<BannerList>> autoList(); Observable<BaseResponse<BannerList>> autoList();
/** /**
* 穿山甲上传剧集 * 穿山甲上传剧集
*/ */
@POST("api/vedio/initCsj") @POST("api/vedioV1/initCsj")
Observable<BaseResponse<Object>> commitCsjShotInfo(@Body Map<String, Object> vo); Observable<BaseResponse<Object>> commitCsjShotInfo(@Body Map<String, Object> vo);
/** /**
* 推荐 * 推荐
*/ */
@POST("api/vedio/firstVedio") @POST("api/vedioV1/firstVedio")
Observable<BaseResponse<IndexList>> getSoltVedio(); Observable<BaseResponse<IndexList>> getSoltVedio();
/** /**
* 匹配推荐 * 匹配推荐
*/ */
@POST("api/vedio/vedio3Msg") @POST("api/vedioV1/vedio3Msg")
Observable<BaseResponse<RecoBean>> getRecommendVedio(); Observable<BaseResponse<RecoBean>> getRecommendVedio();
/** /**
* 9宫格信息 * 9宫格信息
*/ */
@POST("api/vedio/getTurnConfig") @POST("api/vedioV1/getTurnConfig")
Observable<BaseResponse<NineListBean>> getTurnConfig(); Observable<BaseResponse<NineListBean>> getTurnConfig();
/** /**
* 9宫格抽奖 * 9宫格抽奖
*/ */
@POST("api/vedio/toTurn") @POST("api/vedioV1/toTurn")
Observable<BaseResponse<NineListBean.NineBean>> toTurn(); Observable<BaseResponse<NineListBean.NineBean>> toTurn();
/** /**
* 是否展示9宫格 * 是否展示9宫格
*/ */
@POST("api/vedio/showTurn") @POST("api/vedioV1/showTurn")
Observable<BaseResponse<NineShowBean>> showTurn(); Observable<BaseResponse<NineShowBean>> showTurn();
/** /**
* 获取推荐状态 * 获取推荐状态
*/ */
@POST("api/vedio/showVedio4") @POST("api/vedioV1/showVedio4")
Observable<BaseResponse<JsonObject>> firstShowVedio(); Observable<BaseResponse<JsonObject>> firstShowVedio();
/** /**
* 推荐banner * 推荐banner
*/ */
@POST("api/vedio/vedio4Msg") @POST("api/vedioV1/vedio4Msg")
Observable<BaseResponse<RecommendBannerList>> vedio4Msg(@Body Map<String, Object> vo); Observable<BaseResponse<RecommendBannerList>> vedio4Msg(@Body Map<String, Object> vo);
/** /**
* Vip尊享剧场 * Vip尊享剧场
*/ */
@POST("api/vedio/vedio4List") @POST("api/vedioV1/vedio4List")
Observable<BaseResponse<BannerList>> vedio4List(@Body Map<String, Object> vo); Observable<BaseResponse<BannerList>> vedio4List(@Body Map<String, Object> vo);
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment