package com.xscm.moduleutil.http; import com.xscm.moduleutil.bean.AlbumBean; import com.xscm.moduleutil.bean.AppPay; import com.xscm.moduleutil.bean.AppUpdateModel; import com.xscm.moduleutil.bean.BannerModel; import com.xscm.moduleutil.bean.BindDetail; import com.xscm.moduleutil.bean.BindType; import com.xscm.moduleutil.bean.BlackUserBean; import com.xscm.moduleutil.bean.CharmRankingResp; import com.xscm.moduleutil.bean.CircleListBean; import com.xscm.moduleutil.bean.CommentBean; import com.xscm.moduleutil.bean.ExpandColumnBean; import com.xscm.moduleutil.bean.FirstChargeBean; import com.xscm.moduleutil.bean.FirstChargeGiftBean; import com.xscm.moduleutil.bean.GiftBean; import com.xscm.moduleutil.bean.GiftBoxRecordBean; import com.xscm.moduleutil.bean.GiftLabelBean; import com.xscm.moduleutil.bean.GiftName; import com.xscm.moduleutil.bean.GiftPackBean; import com.xscm.moduleutil.bean.GiftPackListCount; import com.xscm.moduleutil.bean.GiftUserWallBean; import com.xscm.moduleutil.bean.HeadlineBean; import com.xscm.moduleutil.bean.HeatedBean; import com.xscm.moduleutil.bean.HostBean; import com.xscm.moduleutil.bean.MusicSongBean; import com.xscm.moduleutil.bean.MyBagDataBean; import com.xscm.moduleutil.bean.MyCpRoom; import com.xscm.moduleutil.bean.MyFootResp; import com.xscm.moduleutil.bean.MyRoomBean; import com.xscm.moduleutil.bean.NewsDataBean; import com.xscm.moduleutil.bean.NewsMessageList; import com.xscm.moduleutil.bean.PersonaltyBean; import com.xscm.moduleutil.bean.PkSwTokenBean; import com.xscm.moduleutil.bean.PlaceholderBean; import com.xscm.moduleutil.bean.RealNameBean; import com.xscm.moduleutil.bean.RechargeBean; import com.xscm.moduleutil.bean.RelationCardBean; import com.xscm.moduleutil.bean.RevenueBean; import com.xscm.moduleutil.bean.RewardUserBean; import com.xscm.moduleutil.bean.RoomBgBean; import com.xscm.moduleutil.bean.RoomCharmRankBean; import com.xscm.moduleutil.bean.RoomDetails; import com.xscm.moduleutil.bean.RoomRelationBean; import com.xscm.moduleutil.bean.RoomSearchResp; import com.xscm.moduleutil.bean.RoomSubsidy; import com.xscm.moduleutil.bean.RoomTime; import com.xscm.moduleutil.bean.RoomTypeModel; import com.xscm.moduleutil.bean.RoomUserCharmListBean; import com.xscm.moduleutil.bean.RoonGiftModel; import com.xscm.moduleutil.bean.SearchAll; import com.xscm.moduleutil.bean.SongMusicBean; import com.xscm.moduleutil.bean.ThemeBean; import com.xscm.moduleutil.bean.TopRoom; import com.xscm.moduleutil.bean.UserBean; import com.xscm.moduleutil.bean.UserInfo; import com.xscm.moduleutil.bean.UserOnlineStatusBean; import com.xscm.moduleutil.bean.UserTagBean; import com.xscm.moduleutil.bean.WalletBean; import com.xscm.moduleutil.bean.WalletConfig; import com.xscm.moduleutil.bean.WithdrawalBean; import com.xscm.moduleutil.bean.blindboxwheel.BlindBoxBean; import com.xscm.moduleutil.bean.blindboxwheel.BlindReslutBean; import com.xscm.moduleutil.bean.blindboxwheel.XlhDrawBean; import com.xscm.moduleutil.bean.room.*; import com.xscm.moduleutil.bean.zhuangb.ZhuangBanShangChengBean; import com.xscm.moduleutil.widget.Constants; import java.util.List; import io.reactivex.Observable; import okhttp3.ResponseBody; import retrofit2.Call; import retrofit2.http.Field; import retrofit2.http.FormUrlEncoded; import retrofit2.http.GET; import retrofit2.http.POST; import retrofit2.http.Query; public interface ApiServer { @FormUrlEncoded //请求验证码 @POST(Constants.SEND_CODE) Observable> sendCode(@Field("mobile") String mobile, @Field("event") String event); @FormUrlEncoded @POST(Constants.LOGIN) Call>> login(@Field("user_login") String user_login, @Field("sms_code") String sms_code); @FormUrlEncoded @POST(Constants.ROOM_HOUR_BEAN) Call> getRoomHourRanking(@Field("page") String page,@Field("page_limit")String page_limit); @FormUrlEncoded //手机换绑 @POST(Constants.MODIFY_MOBILE) Call> mobileView(@Field("mobile") String mobile, @Field("new_mobile") String new_mobile, @Field("sms_code") String sms_code); @FormUrlEncoded //手机绑定 @POST(Constants.BIND_MOBILE) Call> mobileView2(@Field("new_mobile") String new_mobile, @Field("sms_code") String sms_code); @FormUrlEncoded @POST(Constants.USER_ROOM_BACK) Call userRoomBack(@Field("room_id")String room_id,@Field("type")String type); @FormUrlEncoded @POST(Constants.USER_LOGIN) Call>> userLogin(@Field("user_login") String user_login, @Field("password") String password); @FormUrlEncoded @POST(Constants.EARNINGS_NUM) Call> exchangeCoin(@Field("earnings_num") String earnings_num); @GET(Constants.DELETE_ROOM_HISTORY) Call> delfoot(); @GET(Constants.GET_FIRST_CHARGE) Call> firstCharge(@Query("uid") String user_id); @POST(Constants.UPLOAD_NICK_NAME) Call upUserNickname(); @GET(Constants.GET_APP_UPDATE) Observable> appUpdate(); @FormUrlEncoded @POST(Constants.dailyTasksOpenBox) Observable> dailyTasksOpenBox(@Field("gift_box_id") String gift_box_id); @FormUrlEncoded @POST(Constants.dailyTasksReceive) Call dailyTasksReceive(@Field("task_id") String task_id); @FormUrlEncoded @POST(Constants.dailyTasksComplete) Call dailyTasksComplete(@Field("task_id") String task_id); @FormUrlEncoded @POST(Constants.SEND_HEADLINE) Call> sendHeadine(@Field("content") String content, @Field("money") String money, @Field("room_id") String roomId); @FormUrlEncoded @POST(Constants.POST_WITHDRAWAL) Call withdrawal(@Field("number") String number, @Field("type") String type, @Field("sms_code") String sms_code); @FormUrlEncoded @POST(Constants.POST_USER_WALL) Observable> giftWall(@Field("user_id") String userId); @GET(Constants.CURRENT_HEADLINE) Observable> currentHeadline(); @GET(Constants.GET_TASKS_LIHEN) Call tasksLihen(); @FormUrlEncoded @POST(Constants.POST_LOG_LIST) Call>> getRevenueData(@Field("page") String page, @Field("page_limit") String page_limit, @Field("in_out_type") String in_out_type, @Field("start_time") String start_time, @Field("end_time") String end_time, @Field("gift_type") String gift_type); @FormUrlEncoded @POST(Constants.POST_WEALTH_RANKING) Observable> wealthRanking(@Field("ranking_type") String ranking_type, @Field("type") String type); @GET(Constants.GUILD_RANKING) Observable> guildRanking(); @GET(Constants.GET_WITHDRAWAL_LIST) Call>> withdrawalList(@Query("page") String page, @Query("page_limit") String page_limit, @Query("search_stime") String search_stime, @Query("search_etime") String search_etime); @FormUrlEncoded @POST(Constants.POST_BIND_DETAIL) Call> bindDetai(@Field("user_id") String user_id, @Field("type") String type); @FormUrlEncoded @POST(Constants.POST_MESSAGE_LIST) Call>> getMessagetitle(@Field("type") String type, @Field("page") String page, @Field("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.POST_ROOM_RANK) Call>> getRoomRank(@Field("room_id") String room_id, @Field("type") String type, @Field("time_type") String time_type, @Field("page") String page, @Field("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.POST_ROOM_RANKING) Observable> roomRanking(@Field("type") String type); @FormUrlEncoded @POST(Constants.POST_LOVE_RANKING) Observable> loveRanking(@Field("type") String type); @GET(Constants.GET_REAL_NAME) Call> realNameInfo(); @GET(Constants.GET_DAILY_TASK_BOX) Call>> dailyTasksBoxRecord(); @GET(Constants.GET_MY_BAG_DATA) Call>> packIncome(@Query("page") String page, @Query("page_limit") String page_size); @GET(Constants.GET_MY_BAG_OUTCOME) Call>> packOutcome(@Query("page") String page, @Query("page_limit") String page_size); @GET(Constants.GET_GIFT_PACK) Call>> giftPack(); @FormUrlEncoded @POST(Constants.ADD_BLACK_LIST) Call addBlackList(@Field("user_id") String user_id); @FormUrlEncoded @POST(Constants.POST_SEND_PK) Call sendPk(@Field("room_id_a") String room_id_a, @Field("create_user_id") String create_user_id, @Field("room_id_b") String room_id_b); @FormUrlEncoded @POST(Constants.POST_REFUSE_PK) Call refusePk(@Field("is_pk") String is_pk, @Field("room_id") String room_id); @FormUrlEncoded @POST(Constants.POST_END_PK) Call endPk(@Field("pk_id") String is_pk, @Field("type") String type, @Field("user_id") String user_id); @GET(Constants.GET_RECHARGE) Call>> recharge(); @FormUrlEncoded @POST(Constants.POST_START_PK) Call startPk(@Field("pk_id") String pk_id, @Field("pk_times") String pk_times); @FormUrlEncoded @POST(Constants.UPLOAD_USER_PIC) Call upUserPic(@Field("sex") String sex); @FormUrlEncoded @POST(Constants.SWITCH_ACCOUNTS) Call>> switchAccounts(@Field("user_login") String user_id); @FormUrlEncoded @POST(Constants.FORGOT_PASSWORD) Call> forgotPassword(@Field("new_password") String new_password, @Field("mobile") String mobile, @Field("sms_code") String sms_code); @FormUrlEncoded @POST(Constants.USER_UPDATE) Call> userUpdate(@Field("nickname") String nickname, @Field("birthday") String birthday, @Field("sex") String sex, @Field("avatar") String avatar, @Field("init_code") String init_code, @Field("user_id") String user_id); @GET(Constants.AUTHORIZATION) Call authorization(); @FormUrlEncoded @POST(Constants.CHANGE_PASSWORD) Call> getPostData(@Field("new_password") String new_password, @Field("mobile") String mobile, @Field("sms_code") String code, @Field("user_id") String userId); @FormUrlEncoded @POST(Constants.REAL_NAME_RESULT) Call> getRealNameResult(@Field("orderNo") String order_no); @FormUrlEncoded @POST(Constants.URL_LOGIN) Call>> oauthLogin(@Field("login_token") String login_token); @GET(Constants.GET_THEME_DATA) Call> getThemeData(); @FormUrlEncoded @POST(Constants.URL_AUTH_CODE) Observable>> authCode(@Field("auth_code") String login_token); @FormUrlEncoded @POST(Constants.URL_WX_CODE) Observable>> authCode1(@Field("code") String login_token); @FormUrlEncoded @POST(Constants.REAL_NAME) Call> realName(@Field("real_name") String real_name, @Field("card_number") String card_number); @FormUrlEncoded @POST(Constants.GET_EXPAND_COLUMN) Call>> getExpandColumn(@Field("type") String type, @Field("page") String page, @Field("page_limit") String page_limit); @GET(Constants.GET_OFFICIAL_NOTICE) Call> getOfficialNotice(); @FormUrlEncoded @POST(Constants.GET_ALBUM_LIST) Call>> getAlbumList(@Field("page") String page, @Field("page_limit") String page_limit, @Field("user_id") String user_id); @FormUrlEncoded @POST(Constants.CREATE_ALBUM) Call> createAlbum(@Field("name") String name, @Field("pwd") String pwd, @Field("image") String image); @FormUrlEncoded @POST(Constants.EDIT_ALBUM) Call> editAlbum(@Field("album_id") String album_id, @Field("name") String name, @Field("pwd") String pwd, @Field("image") String image); @GET(Constants.GET_SJ_ROOM_NAME) Call sjRoomName(); @FormUrlEncoded @POST(Constants.POST_FOLLOW_LIST) Call>> getUserFollowList(@Field("page") String page, @Field("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.POST_FANS_LIST) Call>> getUserFansList(@Field("page") String page, @Field("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.POST_BLACK_LIST) Call>> getBlacklist(@Field("page") String page, @Field("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.POST_LOCK_MI_LIST) Call>> getLockMiniList(@Field("page") String page, @Field("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.GET_MY_ROOM) Call>> getMyRoom(@Field("type") String type, @Field("page") String page, @Field("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.POST_MY_ROOM_BEAN) Call>> getBanners(@Field("type") String type); @FormUrlEncoded @POST(Constants.GET_TOP_ROOM) Call>> getTopRooms(@Field("page") String page, @Field("page_limit") String page_limit, @Field("is_top") String is_top, @Field("label_id") String label_id); @GET(Constants.GET_ROOM_TYPE) Call>> getRoomCategories(); @FormUrlEncoded @POST(Constants.CHECK_TXT) Call checkTxt(@Field("room_name") String room_name, @Field("room_cover") String room_cover, @Field("room_intro") String room_intro); @FormUrlEncoded @POST(Constants.GET_REWARD_LIST) Call>> getRewardList(@Field("id") String id, @Field("page") String page, @Field("page_limit") String page_limit); @GET(Constants.GET_GIFT_LABEL) Call>> getGiftLabel(@Query("have_hot") String have_hot); @GET(Constants.GIFT_LIST) //获取礼物列表 Call>> getGiftList(@Query("label") int label,@Query("room_id")String room_id); @GET(Constants.TOPIC_LIST) //获取话题 Call>> topicList(@Query("page") String page, @Query("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.PUBLISH_ZONE) Call> publishZone(@Field("images") String images, @Field("content") String content, @Field("topic_id") String topic_id, @Field("room_id") String room_id, @Field("ip") String ip); @GET(Constants.GET_CATEGORIES) Call>> getCategories(); @GET(Constants.GET_CIRCLE_LIST) Call>> getCircleList(@Query("page") String page, @Query("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.GET_USER_HOME_ZONE) Call>> getCircleUserList(@Field("user_id") String user_id, @Field("page") String page, @Field("page_limit") String page_limit); @GET(Constants.GET_MY_FOOT) Call>> getMyFoot(@Query("page") String page, @Query("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.LIKE_ZONE) Call> likeZone(@Field("id") String zone_id); @FormUrlEncoded @POST(Constants.TOPIC_ID) Call>> topicId(@Field("topic_id") String topic_id); @FormUrlEncoded @POST(Constants.ZONE_DETAIL) Call> zoneDetail(@Field("id") String topic_id); @FormUrlEncoded @POST(Constants.GET_USER_HOME) Call> getUserHome(@Field("user_id") String user_id); @FormUrlEncoded @POST(Constants.DELETE_COMMENT) Call> deleteComment(@Field("id") String zone_id); @FormUrlEncoded @POST(Constants.GET_COMMENT_LIST) Call> getCommentList(@Field("id") String id, @Field("page") String page, @Field("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.POST_SONG) Call>> song(@Field("room_id") String roomId, @Field("user_id") String userId, @Field("song_code") String songCode, @Field("song_name") String songName, @Field("singer") String singer, @Field("poster") String poster, @Field("duration") String duration); @FormUrlEncoded @POST(Constants.COMMENT_ZONE) Call> commentZone(@Field("id") String id, @Field("content") String content, @Field("pid") String pid, @Field("reply_to") String reply_to); @GET(Constants.GET_MY_CP_ROOM_LIST) Call>> myCpRoom(); @FormUrlEncoded @POST(Constants.CLEAR_LOGIN_INFO) Call> clearLoginInfo(@Field("token") String token); @FormUrlEncoded @POST(Constants.CANCEL) Call> cancel(@Field("token") String token); @FormUrlEncoded @POST(Constants.DELETE_ZONE) Call> deleteZone(@Field("id") String id); @GET(Constants.GET_MY_INFO) Call> getMyInfo(); @FormUrlEncoded @POST(Constants.ED_USER_INFO) Call> editUserInfo(@Field("nickname") String nickname, @Field("birthday") String birthday, @Field("sex") String sex, @Field("avatar") String avatar, @Field("images") String images, @Field("profile") String profile, @Field("tag_id") String tag_id); @FormUrlEncoded @POST(Constants.ED_USER_BG) Call> editUserBg(@Field("images") String images); @GET(Constants.GET_USER_TAG_LIST) Call>> getUserTagList(); @FormUrlEncoded @POST(Constants.GET_LIKE_LIST) Call>> getLikeList(@Field("id") String id); @FormUrlEncoded @POST(Constants.GET_ALBUM_DETAIL) Call> getAlbumDetail(@Field("album_id") String albumId, @Field("pwd") String pwd, @Field("page") String page, @Field("page_limit") String page_limit); @GET(Constants.GET_PERSONALTY) Call>> getPersonaltyList(); @FormUrlEncoded @POST(Constants.GET_SUBSIDY) Call> getSubsidy(@Field("room_id") String roomId); @GET(Constants.GET_DECORATE) Call>> getDecorateList(@Query("type") String type); @FormUrlEncoded @POST(Constants.POST_GZ) Call> userGuanz(@Field("user_id") String userId, @Field("type") String type); @FormUrlEncoded @POST(Constants.ACCEPT_PK) Call> acceptPk(@Field("pk_id") String pk_id, @Field("type") String type); @FormUrlEncoded @POST(Constants.POST_CLEAR_USER_CHARM) Call> clearUserCharm(@Field("room_id") String roomId, @Field("user_id") String userId); @FormUrlEncoded @POST(Constants.REMOVE_BLACK_LIST) Call> removeBlackList(@Field("uid") String userId); @FormUrlEncoded @POST(Constants.POST_USER_OLINE_STATUS) Call>> userOnlineStatus(@Field("user_id") String userId, @Field("room_id") String roomId); @FormUrlEncoded @POST(Constants.postRoomSwToken) Call> postRoomSwToken(@Field("room_id") String roomId); @FormUrlEncoded @POST(Constants.SET_USER_DECORATE) Call> setUserDecorate(@Field("udid") String udid); @FormUrlEncoded @POST(Constants.POST_CANCEL_USER_DECORATE) Call> cancelUserDecorate(@Field("type") String type); @FormUrlEncoded @POST(Constants.UP_ALBUM) Call> upAddAlbum(@Field("album_id") String album_id, @Field("images") String images, @Field("content") String content); @FormUrlEncoded @POST(Constants.MOVE_ALBUM) Call> moveAlbum(@Field("id") String id, @Field("new_album_id") String new_album_id); @FormUrlEncoded @POST(Constants.JOIN_ROOM) Call> roomGetIn(@Field("room_id") String roomId, @Field("password") String password); @FormUrlEncoded @POST(Constants.DELETE_ALBUM_IMAGE) Call> deleteAlbumImage(@Field("id") String id); @FormUrlEncoded @POST(Constants.DELETE_ALBUM) Call> deleteAlbum(@Field("album_id") String id); @FormUrlEncoded @POST(Constants.LIKE_ALBUM) Call> likeAlbum(@Field("album_id") String id); @FormUrlEncoded @POST(Constants.ADDRESS_IP) Call> address_ip(@Field("address_ip") String address_ip); @FormUrlEncoded @POST(Constants.UPDATEPASSWORD) Call> updatePassword(@Field("room_id") String roomId, @Field("password") String password); @FormUrlEncoded @POST(Constants.GET_ROOM_ONLINE) Call> getRoomOnline(@Field("room_id") String roomId, @Field("page") String page, @Field("page_limit") String page_limit); @FormUrlEncoded @POST(Constants.GET_GIVE_GIFT) Call> giveGift(@Field("user_id") String user_id, @Field("gid") String gid, @Field("num") String num, @Field("to_uid") String to_uid, @Field("gift_type") String gift_type); @FormUrlEncoded @POST(Constants.GET_ROOM_GIFT) Call> roomGift(@Field("room_id") String room_id, @Field("gift_id") String gift_id, @Field("gift_num") String num, @Field("to_uid") String to_uid, @Field("type") String gift_type, @Field("pit_number") String pit_number, @Field("heart_id") String heat_id); @GET(Constants.GET_FIRST_CHARGE_GIFT) Call> firstChargeGift(); @GET(Constants.GET_WALLET) Call> wallet(); @FormUrlEncoded @POST(Constants.POST_APPLY_Pay) Call> appPay(@Field("user_id") String user_id, @Field("money") String money, @Field("coin") String coin, @Field("type") String type); @FormUrlEncoded @POST(Constants.POST_APPLY_LIST) Call> roomApplyListBean(@Field("room_id") String room_id); @FormUrlEncoded @POST(Constants.GET_ROOM_USER) Call> getRoomUserInfo(@Field("room_id") String roomId, @Field("user_id") String userId); @FormUrlEncoded @POST(Constants.POST_BIND_TYPE) Call> bindType(@Field("user_id") String userId); @GET(Constants.GET_WALLET_CONFIG) Call> getWalletConfig(); @FormUrlEncoded @POST(Constants.POST_BIND) Call> bind(@Field("user_id") String userId, @Field("type") String type, @Field("alipay_account") String alipay_account, @Field("bank_card_number") String bank_card_number, @Field("bank_card") String bank_card, @Field("open_bank") String open_bank); @FormUrlEncoded @POST(Constants.POST_SONG_LIST) Call>> songList(@Field("room_id") String room_id); @FormUrlEncoded @POST(Constants.APPLY_PIT) Call> applyPit(@Field("room_id") String room_id, @Field("pit_number") String pit_number); @FormUrlEncoded @POST(Constants.START_FRIEND) Call> startFriend(@Field("room_id") String room_id); @FormUrlEncoded @POST(Constants.END_FRIEND) Call> endFriend(@Field("friend_id") String friend_id, @Field("room_id") String room_id); @FormUrlEncoded @POST(Constants.CREATE_RELATION) Call> createRelation(@Field("room_id") String room_id, @Field("friend_id") String friend_id, @Field("user1_id") String user1_id, @Field("user2_id") String user2_id, @Field("relation_id") String relation_id); @FormUrlEncoded @POST(Constants.DELAY) Call> delay(@Field("friend_id") String friend_id, @Field("room_id") String room_id, @Field("delay_times") String delay_times); @FormUrlEncoded @POST(Constants.DOWN_PIT) Call> downPit(@Field("room_id") String room_id, @Field("pit_number") String pit_number); @FormUrlEncoded @POST(Constants.REWARD_ZONE) Call> reward_zone(@Field("id") String id, @Field("gift_id") String gift_id, @Field("num") String num, @Field("is_pack") String is_pack); @FormUrlEncoded @POST(Constants.POST_UP_SONG) Call> upSong(@Field("did") String did, @Field("type") String type); @FormUrlEncoded @POST(Constants.POST_CHANGE_ROOM) Call> changeRoom(@Field("room_id") String room_id, @Field("user_id") String userId); @FormUrlEncoded @POST(Constants.POST_CHANGE_ROOM_TYPE) Call> changeRoomType(@Field("room_id") String room_id, @Field("type") String type); @FormUrlEncoded @POST(Constants.SET_ROOM_APPLY) Call> setRoomApply(@Field("room_id") String room_id, @Field("gift_id") String gift_id, @Field("gift_price") String gift_price); @FormUrlEncoded @POST(Constants.CLEAR_APPLY) Call> clearApply(@Field("room_id") String room_id); @FormUrlEncoded @POST(Constants.AGREE_PIT) Call> agreePit(@Field("room_id") String roomId, @Field("user_id") String userId); @FormUrlEncoded @POST(Constants.REFUSE_PIT) Call> refusePit(@Field("room_id") String roomId, @Field("user_id") String userId); @FormUrlEncoded @POST(Constants.HELP_APPLY) Call> helpApply(@Field("room_id") String roomId, @Field("user_id") String userId); @FormUrlEncoded @POST(Constants.POST_APPLY_SONG) Call> applySong(@Field("room_id") String roomId); @FormUrlEncoded @POST(Constants.POST_AGREE_SONG) Call> agreeSong(@Field("room_id") String roomId, @Field("type") String type); @FormUrlEncoded @POST(Constants.POST_END_SONG) Call> endSong(@Field("room_id") String roomId); @FormUrlEncoded @POST(Constants.POST_ROOM_INFO) Call> postRoomInfo(@Field("room_id") String roomId); @FormUrlEncoded @POST(Constants.CHANGE_SONG) Call> changeSong(@Field("room_id") String roomId, @Field("now_did") String now_did); @FormUrlEncoded @POST(Constants.POST_HOST_LIST) Call>> getHostList(@Query("room_id") String room_id, @Field("type") String type); @FormUrlEncoded @POST(Constants.GET_CHARM_RANK) Call>> getCharmRank(@Field("room_id") String roomId); @FormUrlEncoded @POST(Constants.POST_ROOM_RELATION_LIST) Call>> roomRelationList(@Field("type") String type); @FormUrlEncoded @POST(Constants.POST_ROOM_AUCTION_LIST) Call>> roomAuctionList(@Field("auction_id") String auction_id); @FormUrlEncoded @POST(Constants.POST_SEARCH) Call>> getSearch(@Field("search") String room_id, @Field("type") String type); @FormUrlEncoded @POST(Constants.POST_SEARCH_ALL) Call> getSearchAll(@Field("search") String search); @FormUrlEncoded @POST(Constants.SET_PRESIDED_RATIO) Call> setPresidedRatio(@Field("room_id") String room_id, @Field("user_id") String userId, @Field("ratio") String ration); @FormUrlEncoded @POST(Constants.GET_PRESIDED_RATIO) Call> getPresidedRatio(@Field("room_id") String room_id, @Field("user_id") String userId, @Field("type") String type, @Field("is_add") String is_add); @FormUrlEncoded @POST(Constants.POST_ROOM_HOST_PIT) Call> hostUserPit(@Field("room_id") String room_id, @Field("pit_number") String pit_number, @Field("user_id") String userId, @Field("type") String type); @FormUrlEncoded @POST(Constants.POST_GIVE_COIN) Call> giveCoin(@Field("user_id") String user_id, @Field("coin") String coin); @FormUrlEncoded @POST(Constants.POST_SET_MUTE_PIT) Call> setMutePit(@Field("room_id") String room_id, @Field("user_id") String user_id, @Field("is_mute") String is_mute); @FormUrlEncoded @POST(Constants.POST_SET_LOCK_PIT) Call> setLockPit(@Field("room_id") String room_id, @Field("pit_number") String pit_number, @Field("is_lock") String is_lock); @GET(Constants.GET_ROOM_BJ) Call> getBackgroundList(); @FormUrlEncoded @POST(Constants.POST_CHARM_LIST) Call> getCharmList(@Field("room_id") String room_id, @Field("start_time") String start_time, @Field("end_time") String end_time, @Field("page") String page); @FormUrlEncoded @POST(Constants.POST_SET_UPLOAD_BG_IMG) Call> setUploadBgImg(@Field("id") String id, @Field("image_url") String image_url); @FormUrlEncoded @POST(Constants.POST_AUCTION_DELAY) Call> auctionDelay(@Field("auction_id") String auction_id); @FormUrlEncoded @POST(Constants.POST_AUCTION_END) Call> auctionEnd(@Field("auction_id") String auction_id, @Field("room_id") String room_id); @FormUrlEncoded @POST(Constants.POST_AUCTION_MODE) Call> auctionMode(@Field("room_id") String room_id, @Field("label_id") String label_id); @FormUrlEncoded @POST(Constants.POST_EDIT_ROOM) Call> editRoom(@Field("room_id") String room_id, @Field("room_name") String room_name, @Field("room_cover") String room_cover, @Field("room_intro") String room_intro, @Field("room_background") String room_background); @FormUrlEncoded @POST(Constants.POST_KICK_OUT_ROOM) Call> kickOutRoom(@Field("room_id") String room_id, @Field("user_id") String user_id); @FormUrlEncoded @POST(Constants.POST_QUIT_ROOM) Call quitRoom(@Field("room_id") String room_id, @Field("user_id") String user_id); @FormUrlEncoded @POST(Constants.POST_RELATION_CARD) Call> relationCard(@Field("user_id") String user_id); @FormUrlEncoded @POST(Constants.POST_TOP_RELATION_CARD) Call> topRelationCard(@Field("id") String id); @FormUrlEncoded @POST(Constants.POST_DELETE_RELATION_CARD) Call> deleteRelationCard(@Field("id") String id); @FormUrlEncoded @POST(Constants.POST_ROOM_AUCTION) Call> roomAuction(@Field("room_id") String room_id, @Field("user_id") String user_id, @Field("gift_id") String gift_id, @Field("relation_id") String relation_id, @Field("auction_type") String auction_type, @Field("time_day") String time_day); @FormUrlEncoded @POST(Constants.POST_ROOM_AUCTION_TIME) Call> roomAuctionTime(@Field("gift_id") String gift_id); @FormUrlEncoded @POST(Constants.POST_ROOM_AUCTION_JOIN) Call> roomAuctionJoin(@Field("auction_id") String auction_id, @Field("user_id") String user_id, @Field("gift_id") String gift_id, @Field("num") String num, @Field("type") String type); @FormUrlEncoded @POST(Constants.POST_SEARCH_PK_ROOM) Call>> searchPkRoom(@Field("room_id") String room_id, @Field("page") String page, @Field("limit") String limit); @GET(Constants.GET_BOX_GIFT_LIST) Call> getBoxGiftList(@Query("gift_bag_id") String gift_bag_id, @Query("room_id") String room_id); @FormUrlEncoded @POST(Constants.POST_DRAW_GIFT_LIST) Call> drawGiftList(@Field("gift_bag_id") String gift_bag_id, @Field("gift_user_ids") String gift_user_ids,@Field("room_id")String room_id,@Field("num")String num,@Field("heart_id") String heart_id); @GET(Constants.GET_MY_RECORD) Call>> getMyRecord(@Query("gift_bag_id")String gift_bag_id,@Query("page")String page,@Query("page_size")String page_size); @GET(Constants.GET_ALL_RECORD) Call>> getAllRecord(@Query("gift_bag_id")String gift_bag_id,@Query("page")String page,@Query("page_size")String page_size); @FormUrlEncoded @POST(Constants.GIFT_SEND) Call> giftSend(@Field("send_id")String send_id); @GET(Constants.GET_BOX_GIFT_LIST_XLH) Call> getBoxGiftListXLH( @Query("room_id") String room_id); @FormUrlEncoded @POST(Constants.POST_DRAW_GIFT_LIST_XLH) Call>> xlhChou(@Field("room_id") String room_id, @Field("num") String num); @FormUrlEncoded @POST(Constants.POST_XLH_ALL_RECORD) Call>> xlhAllRecord(@Field("room_id") String room_id, @Field("page") String page, @Field("page_size") String page_size); @FormUrlEncoded @POST(Constants.Get_XH_RANking) Call>> xlXH_RANking(@Field("room_id") String room_id, @Field("page") String page, @Field("page_size") String page_size); @GET(Constants.GET_XLH_MY_RECORD) Call>> xlhMyRecord(@Query("room_id") String room_id, @Query("page") String page, @Query("page_size") String page_size); @FormUrlEncoded @POST(Constants.POST_GIFT_ALL_CLEAR) Call> getGiftPack(@Field("room_id") String roomId,@Field("to_uid") String user_id,@Field("heart_id") String heart_id,@Field("auction_id") String auction_id); @FormUrlEncoded @POST(Constants.POST_ROOM_USER_CHARM_LIST) Call>> roomUserCharmList(@Field("room_id") String roomId,@Field("user_id") String user_id); @GET(Constants.GET_GIFT_PACK_LIST_COUNT) Call> getGiftPackListCount(); @FormUrlEncoded @POST(Constants.ROOM_USER_RECONNECT) Call> roomUserReconnect(@Field("room_id") String room_id); }