update
This commit is contained in:
@@ -5,6 +5,7 @@ import com.shayu.onetoone.bean.FollowBean;
|
||||
import com.shayu.onetoone.bean.GiftBean;
|
||||
import com.shayu.onetoone.bean.GreetBean;
|
||||
import com.shayu.onetoone.bean.HomeItemBean;
|
||||
import com.shayu.onetoone.bean.HomeRankBean;
|
||||
import com.shayu.onetoone.bean.JoinAnchorBean;
|
||||
import com.shayu.onetoone.bean.MessageConsumeConfigBean;
|
||||
import com.shayu.onetoone.bean.OfficialNoticeBean;
|
||||
@@ -121,7 +122,7 @@ public interface OneToOneApi {
|
||||
Observable<ResponseModel<List<SystemMessageBean>>> getSystemMessageList(@Query("type") int type);
|
||||
|
||||
@GET("/api/public/?service=Friendappmsg.sendAfter")
|
||||
Observable<ResponseModel<List<BaseModel>>> sendMessage(
|
||||
Observable<ResponseModel<BaseModel>> sendMessage(
|
||||
@Query("tuid") int tuid,
|
||||
@Query("type") int type,
|
||||
@Query("gift_id") String giftId,
|
||||
@@ -141,6 +142,18 @@ public interface OneToOneApi {
|
||||
@GET("/api/public/?service=User.setAttents")
|
||||
Observable<ResponseModel<List<FollowBean>>> follow(@Query("touid")String toUid);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param type 1魅力榜 2财富榜
|
||||
* @param date 1日榜 2周榜
|
||||
*/
|
||||
@GET("/api/public/?service=Friendapprank.list")
|
||||
Observable<ResponseModel<List<HomeRankBean>>> getHomeRank(
|
||||
@Query("type")String type,
|
||||
@Query("date")String date
|
||||
);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user