替换接口新名称

This commit is contained in:
Martin 2024-09-07 16:46:08 +08:00
parent 1576a75c08
commit 2102a3bfc2
32 changed files with 222 additions and 256 deletions

View File

@ -305,7 +305,7 @@ public class CommonHttpUtil {
ToastUtil.show(WordUtil.getString(R.string.cannot_follow_self));
return;
}
HttpClient.getInstance().get("User.setAttents", tag).params("touid", touid).execute(new HttpCallback() {
HttpClient.getInstance().get("caozuoguanzhuzhuangtaiv2", tag).params("touid", touid).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
if (code == 0 && info.length > 0 || code == 1001) {
@ -340,7 +340,7 @@ public class CommonHttpUtil {
} else {
isGoogle = "-1";
}
HttpClient.getInstance().get("User.getBalance", CommonHttpConsts.GET_BALANCE).params("type", 0).params("isGooglePay", isGoogle).execute(callback);
HttpClient.getInstance().get("huoquwodezuanshi", CommonHttpConsts.GET_BALANCE).params("type", 0).params("isGooglePay", isGoogle).execute(callback);
}
/**
@ -389,7 +389,7 @@ public class CommonHttpUtil {
* 检查token是否失效
*/
public static void checkTokenInvalid() {
HttpClient.getInstance().get("User.ifToken", CommonHttpConsts.CHECK_TOKEN_INVALID).execute(NO_CALLBACK);
HttpClient.getInstance().get("shezhijiaoyouzhaopianzhuangtai", CommonHttpConsts.CHECK_TOKEN_INVALID).execute(NO_CALLBACK);
}
@ -405,7 +405,7 @@ public class CommonHttpUtil {
}
public static void Google_sec_pay(String purchaseToken, String orderNo, String tradeNo, HttpCallback callback) {
HttpClient.getInstance().get("gugedingdanyanzheng", "Charge.Google_sec_pay").params("purchaseToken", purchaseToken).params("orderno", orderNo).params("trade_no", tradeNo).params("package_name", AppManager.getInstance().getMainActivity().getPackageName()).execute(callback);
HttpClient.getInstance().get("gugedingdanyanzheng", "gugedingdanyanzheng").params("purchaseToken", purchaseToken).params("orderno", orderNo).params("trade_no", tradeNo).params("package_name", AppManager.getInstance().getMainActivity().getPackageName()).execute(callback);
}
public static void notifySamsung(String purchaseId, String selfOrderId,HttpCallback callback) {
@ -450,13 +450,13 @@ public class CommonHttpUtil {
* 用户个人主页信息
*/
public static void getUserBaseinfo(String touid, HttpCallback callback) {
HttpClient.getInstance().get("User.getUserBaseinfo", CommonHttpConsts.GET_USER_BASEINFO).params("touid", touid).execute(callback);
HttpClient.getInstance().get("huoquyonghujichuxinxi", CommonHttpConsts.GET_USER_BASEINFO).params("touid", touid).execute(callback);
}
/**
* 上传文件 获取七牛云token的接口
*/
public static void getUploadQiNiuToken(HttpCallback callback, boolean isImg) {
HttpClient.getInstance().get("Pdluserhome.getQiNiuToken2", "Pdluserhome.getQiNiuToken2")
HttpClient.getInstance().get("huoquqiniushangchuanlingpaiv2", "huoquqiniushangchuanlingpaiv2")
.params("uid", CommonAppConfig.getInstance().getUid())
.params("token", CommonAppConfig.getInstance().getToken())
.params("ext", isImg ? ".jpeg" : ".mp4")
@ -469,7 +469,7 @@ public class CommonHttpUtil {
if(StringUtil.isEmpty(uid)){
uid="NotLogin_"+ DeviceUtils.getUniqueDeviceId();
}
HttpClient.getInstance().get("Pdluserhome.getQiNiuToken3", "Pdluserhome.getQiNiuToken3")
HttpClient.getInstance().get("huoquqiniushangchuanlingpaiv3", "huoquqiniushangchuanlingpaiv3")
.params("uid",uid)
.params("token", CommonAppConfig.getInstance().getToken())
.params("file_name", fileName)

View File

@ -69,7 +69,7 @@ public class LiveHttpUtil {
* 获取活动列表
*/
public static void getHDList(HttpCallback callback) {
HttpClient.getInstance().get("Active.getActiveList", "Active.getActiveList")
HttpClient.getInstance().get("huoquhuodongliebiao", "huoquhuodongliebiao")
.execute(callback);
}
@ -80,7 +80,7 @@ public class LiveHttpUtil {
* @param stream 主播的stream
*/
public static void roomCharge(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Live.roomCharge", LiveHttpConsts.ROOM_CHARGE)
HttpClient.getInstance().get("fangjiankoufei", LiveHttpConsts.ROOM_CHARGE)
.params("stream", stream)
.params("liveuid", liveUid)
.execute(callback);
@ -94,7 +94,7 @@ public class LiveHttpUtil {
* @param stream 主播的stream
*/
public static void timeCharge(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Live.timeCharge", LiveHttpConsts.TIME_CHARGE)
HttpClient.getInstance().get("fangjianjishikoufei", LiveHttpConsts.TIME_CHARGE)
.params("stream", stream)
.params("liveuid", liveUid)
.execute(callback);
@ -115,7 +115,7 @@ public class LiveHttpUtil {
* @param touid 对方的uid
*/
public static void getLiveRecord(String touid, int p, HttpCallback callback) {
HttpClient.getInstance().get("User.getLiverecord", LiveHttpConsts.GET_LIVE_RECORD)
HttpClient.getInstance().get("huoquzhibojilu", LiveHttpConsts.GET_LIVE_RECORD)
.params("touid", touid)
.params("p", p)
.execute(callback);
@ -127,7 +127,7 @@ public class LiveHttpUtil {
* @param recordId 视频的id
*/
public static void getAliCdnRecord(String recordId, HttpCallback callback) {
HttpClient.getInstance().get("User.getAliCdnRecord", LiveHttpConsts.GET_ALI_CDN_RECORD)
HttpClient.getInstance().get("huoqulubojilu", LiveHttpConsts.GET_ALI_CDN_RECORD)
.params("id", recordId)
.execute(callback);
}
@ -137,7 +137,7 @@ public class LiveHttpUtil {
* 获取主播印象列表
*/
public static void getAllImpress(String touid, HttpCallback callback) {
HttpClient.getInstance().get("User.getUserLabel", LiveHttpConsts.GET_ALL_IMPRESS)
HttpClient.getInstance().get("huoquyonghuyingxiangbiaoqian", LiveHttpConsts.GET_ALL_IMPRESS)
.params("touid", touid)
.execute(callback);
}
@ -146,7 +146,7 @@ public class LiveHttpUtil {
* 给主播设置印象
*/
public static void setImpress(String touid, String ImpressIDs, HttpCallback callback) {
HttpClient.getInstance().get("User.setUserLabel", LiveHttpConsts.SET_IMPRESS)
HttpClient.getInstance().get("shezhiyonghuyingxiangbiaoqian", LiveHttpConsts.SET_IMPRESS)
.params("touid", touid)
.params("labels", ImpressIDs)
.execute(callback);
@ -166,7 +166,7 @@ public class LiveHttpUtil {
* 主播设置或取消直播间的管理员
*/
public static void setAdmin(String liveUid, String touid, HttpCallback callback) {
HttpClient.getInstance().get("Live.setAdmin", LiveHttpConsts.SET_ADMIN)
HttpClient.getInstance().get("shezhiguanliyuanzhuangtai", LiveHttpConsts.SET_ADMIN)
.params("liveuid", liveUid)
.params("touid", touid)
.execute(callback);
@ -278,7 +278,7 @@ public class LiveHttpUtil {
* 主播或管理员踢人
*/
public static void kicking(String liveUid, String touid, HttpCallback callback) {
HttpClient.getInstance().get("Live.kicking", LiveHttpConsts.KICKING)
HttpClient.getInstance().get("zhibojiantiren", LiveHttpConsts.KICKING)
.params("liveuid", liveUid)
.params("touid", touid)
.execute(callback);
@ -312,7 +312,7 @@ public class LiveHttpUtil {
* @param type 0表示关闭当前直播 1表示禁播2表示封禁账号
*/
public static void superCloseRoom(String liveUid, int type, HttpCallback callback) {
HttpClient.getInstance().get("Live.superStopRoom", LiveHttpConsts.SUPER_CLOSE_ROOM)
HttpClient.getInstance().get("chaoguanguanbo", LiveHttpConsts.SUPER_CLOSE_ROOM)
.params("liveuid", liveUid)
.params("type", type)
.execute(callback);
@ -347,13 +347,13 @@ public class LiveHttpUtil {
* 查看主播的守护列表
*/
public static void getGuardList(String liveUid, int p, HttpCallback callback) {
HttpClient.getInstance().get("Guard.getGuardList", LiveHttpConsts.GET_GUARD_LIST)
HttpClient.getInstance().get("shouhuliebiao", LiveHttpConsts.GET_GUARD_LIST)
.params("liveuid", liveUid)
.params("p", p)
.execute(callback);
}
public static void getContactMsg(int page, HttpCallback callback) {
HttpClient.getInstance().get("huoqulianxifangshixiaoxi", "getContactMsg")
HttpClient.getInstance().get("huoqulianxifangshixiaoxi", "huoqulianxifangshixiaoxi")
.params("p", page)
.execute(callback);
}
@ -362,7 +362,7 @@ public class LiveHttpUtil {
* 观众跟主播连麦时获取自己的流地址
*/
public static void getLinkMicStream(HttpCallback callback) {
HttpClient.getInstance().get("Linkmic.requestLVBAddrForLinkMic", LiveHttpConsts.GET_LINK_MIC_STREAM)
HttpClient.getInstance().get("lianmaituilaliudizhi", LiveHttpConsts.GET_LINK_MIC_STREAM)
.execute(callback);
}
@ -373,7 +373,7 @@ public class LiveHttpUtil {
* @param pull_url 连麦用户播流地址
*/
public static void linkMicShowVideo(String touid, String pull_url) {
HttpClient.getInstance().get("Live.showVideo", LiveHttpConsts.LINK_MIC_SHOW_VIDEO)
HttpClient.getInstance().get("lianmaixinxi", LiveHttpConsts.LINK_MIC_SHOW_VIDEO)
.params("liveuid", CommonAppConfig.getInstance().getUid())
.params("touid", touid)
.params("pull_url", pull_url)
@ -389,7 +389,7 @@ public class LiveHttpUtil {
* 主播设置是否允许观众发起连麦
*/
public static void setLinkMicEnable(boolean linkMicEnable, HttpCallback callback) {
HttpClient.getInstance().get("Linkmic.setMic", LiveHttpConsts.SET_LINK_MIC_ENABLE)
HttpClient.getInstance().get("shezhilianmaikaiguan", LiveHttpConsts.SET_LINK_MIC_ENABLE)
.params("ismic", linkMicEnable ? 1 : 0)
.execute(callback);
}
@ -399,7 +399,7 @@ public class LiveHttpUtil {
* 观众检查主播是否允许连麦
*/
public static void checkLinkMicEnable(String liveUid, HttpCallback callback) {
HttpClient.getInstance().get("Linkmic.isMic", LiveHttpConsts.CHECK_LINK_MIC_ENABLE)
HttpClient.getInstance().get("panduanzhubaoshifoukaiqilianmai", LiveHttpConsts.CHECK_LINK_MIC_ENABLE)
.params("liveuid", liveUid)
.execute(callback);
}
@ -507,26 +507,6 @@ public class LiveHttpUtil {
.execute(callback);
}
/**
* 观众进入直播间后还要请求一次
*/
public static void enterBackRoom(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Tx.userjoinroom", "Tx.userjoinroom")
.params("GroupId", "g" + liveUid)
.params("stream", stream)
.execute(callback);
}
/**
* 观众退出直播间后还要请求一次
*/
public static void qBackRoom(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Tx.leave_room", "Tx.leave_room")
.params("GroupId", "g" + liveUid)
.params("stream", stream)
.execute(callback);
}
/**
* 获取礼物列表同时会返回剩余的钱
*/
@ -554,7 +534,7 @@ public class LiveHttpUtil {
* 获取包裹列表
*/
public static void getWrapList(HttpCallback callback) {
HttpClient.getInstance().get("Live.getPackList", LiveHttpConsts.GET_WRAP_LIST)
HttpClient.getInstance().get("zhibojianbaoguoxinxi", LiveHttpConsts.GET_WRAP_LIST)
.execute(callback);
}
@ -581,7 +561,7 @@ public class LiveHttpUtil {
* @param callback
*/
public static void getFrontTask(HttpCallback callback) {
HttpClient.getInstance().get("User.getFrontTask", "User.getFrontTask")
HttpClient.getInstance().get("huoquxinshouyindaozhuangtai", "huoquxinshouyindaozhuangtai")
.execute(callback);
}
@ -591,7 +571,7 @@ public class LiveHttpUtil {
* @param callback
*/
public static void getFrontTask(String Token, String uid, HttpCallback callback) {
HttpClient.getInstance().get("User.getFrontTask", "User.getFrontTask")
HttpClient.getInstance().get("huoquxinshouyindaozhuangtai", "huoquxinshouyindaozhuangtai")
.params("token", Token, true)
.params("uid", uid, true)
.execute(callback);
@ -601,7 +581,7 @@ public class LiveHttpUtil {
* 完成新手任務
*/
public static void setFrontTask(String type, HttpCallback callback) {
HttpClient.getInstance().get("User.setFrontTask", "User.setFrontTask")
HttpClient.getInstance().get("shezhixinshouyindaozhuangtai", "shezhixinshouyindaozhuangtai")
.params("type", type)
.execute(callback);
}
@ -610,7 +590,7 @@ public class LiveHttpUtil {
* 完成新手任務
*/
public static void setFrontTask(String type, String liveuid, HttpCallback callback) {
HttpClient.getInstance().get("User.setFrontTask", "User.setFrontTask")
HttpClient.getInstance().get("shezhixinshouyindaozhuangtai", "shezhixinshouyindaozhuangtai")
.params("type", type)
.params("liveuid", liveuid)
.execute(callback);
@ -726,7 +706,7 @@ public class LiveHttpUtil {
* 连麦pk搜索主播
*/
public static void livePkSearchAnchor(String key, int p, HttpCallback callback) {
HttpClient.getInstance().get("Livepk.search", LiveHttpConsts.LIVE_PK_SEARCH_ANCHOR)
HttpClient.getInstance().get("sousuozhiboyonghu", LiveHttpConsts.LIVE_PK_SEARCH_ANCHOR)
.params("key", key)
.params("p", p)
.execute(callback);
@ -737,7 +717,7 @@ public class LiveHttpUtil {
* 获取主播连麦pk列表
*/
public static void getLivePkList(int p, HttpCallback callback) {
HttpClient.getInstance().get("Livepk.getLiveList", LiveHttpConsts.GET_LIVE_PK_LIST)
HttpClient.getInstance().get("huoquzhiboyonghuliebiao", LiveHttpConsts.GET_LIVE_PK_LIST)
.params("p", p)
.execute(callback);
}
@ -831,7 +811,7 @@ public class LiveHttpUtil {
* @param callback
*/
public static void getIsSw(HttpCallback callback) {
HttpClient.getInstance().get("Tx.setRtcFirm", "Tx.setRtcFirm")
HttpClient.getInstance().get("shezhiyuanshengduanshengwangpeizhi", "shezhiyuanshengduanshengwangpeizhi")
.execute(callback);
}
@ -839,7 +819,7 @@ public class LiveHttpUtil {
* 腾讯sdk 跟主播连麦时获取主播的低延时流
*/
public static void getTxLinkMicAccUrl(String originStreamUrl, HttpCallback callback) {
HttpClient.getInstance().get("Linkmic.requestPlayUrlWithSignForLinkMic", LiveHttpConsts.GET_TX_LINK_MIC_ACC_URL)
HttpClient.getInstance().get("jianquanliudizhi", LiveHttpConsts.GET_TX_LINK_MIC_ACC_URL)
.params("originStreamUrl", originStreamUrl)
.execute(callback);
}
@ -849,7 +829,7 @@ public class LiveHttpUtil {
* 连麦时候 主播混流
*/
public static void linkMicTxMixStream(String mergeparams) {
HttpClient.getInstance().get("Linkmic.mergeVideoStream", LiveHttpConsts.LINK_MIC_TX_MIX_STREAM)
HttpClient.getInstance().get("lianmaihunliu", LiveHttpConsts.LINK_MIC_TX_MIX_STREAM)
.params("mergeparams", mergeparams)
.execute(CommonHttpUtil.NO_CALLBACK);
}
@ -859,7 +839,7 @@ public class LiveHttpUtil {
* 我是哪些直播间的管理员返回这些直播间列表
*/
public static void getMyAdminRoomList(int p, HttpCallback callback) {
HttpClient.getInstance().get("Livemanage.getRoomList", LiveHttpConsts.GET_MY_ADMIN_ROOM_LIST)
HttpClient.getInstance().get("huoquwodefangjian", LiveHttpConsts.GET_MY_ADMIN_ROOM_LIST)
.params("p", p)
.execute(callback);
}
@ -869,7 +849,7 @@ public class LiveHttpUtil {
* 获取直播间奖池等级
*/
public static void getLiveGiftPrizePool(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Jackpot.getJackpot", LiveHttpConsts.GET_LIVE_GIFT_PRIZE_POOL)
HttpClient.getInstance().get("huoquyindaoyexinxi", LiveHttpConsts.GET_LIVE_GIFT_PRIZE_POOL)
.params("liveuid", liveUid)
.params("stream", stream)
.execute(callback);
@ -901,7 +881,7 @@ public class LiveHttpUtil {
*/
public static void getHcGiftList(HttpCallback callback) {
HttpClient.getInstance().get("Live.getSvgaList", LiveHttpConsts.GET_GIFT_LIST)
HttpClient.getInstance().get("huoquliwudonghualiebiao", LiveHttpConsts.GET_GIFT_LIST)
.execute(callback);
}
@ -920,7 +900,7 @@ public class LiveHttpUtil {
* 获取活动
*/
public static void geteEvent(String anchor_id, HttpCallback callback) {
HttpClient.getInstance().get("Rank.isActivity", LiveHttpConsts.GET_EVENT)
HttpClient.getInstance().get("huodongpeizhixinxi", LiveHttpConsts.GET_EVENT)
.params("anchorUid", anchor_id)
.execute(callback);
}
@ -929,20 +909,12 @@ public class LiveHttpUtil {
.params("anchorUid", anchor_id)
.execute(callback);
}
/**
* 重置活动
*/
public static void setEvent(String anchor_id, HttpCallback callback) {
HttpClient.getInstance().get("Rank.crystalTimeEnd", LiveHttpConsts.GET_EVENT)
.params("anchor_id", anchor_id)
.execute(callback);
}
/**
* 整蛊转盘拯救主播
*/
public static void userHopePrankTurntable(String anchor_id, String prankid, HttpCallback callback) {
HttpClient.getInstance().get("Prank.userHopePrankTurntable", LiveHttpConsts.USERHOPEPRANKTURNTABLE)
HttpClient.getInstance().get("yonghuzhengjiuzhubo", LiveHttpConsts.USERHOPEPRANKTURNTABLE)
.params("prankid", prankid)
.params("anchor_id", anchor_id)
.execute(callback);
@ -952,7 +924,7 @@ public class LiveHttpUtil {
* 倒计时结束
*/
public static void endPrankTurntable(String anchor_id, HttpCallback callback) {
HttpClient.getInstance().get("Prank.endPrankTurntable", LiveHttpConsts.ENDPRANKTURNTABLE)
HttpClient.getInstance().get("zhenggudaojishijieshu", LiveHttpConsts.ENDPRANKTURNTABLE)
.params("anchor_id", anchor_id)
.execute(callback);
}
@ -961,7 +933,7 @@ public class LiveHttpUtil {
* 周星榜数据
*/
public static void getAnchorLastWeekList(HttpCallback callback) {
HttpClient.getInstance().get("WeekStar.getAnchorLastWeekList", LiveHttpConsts.GETANCHORLASTWEEKLIST)
HttpClient.getInstance().get("huoqushangzhouzhouxingbangzhubo", LiveHttpConsts.GETANCHORLASTWEEKLIST)
.execute(callback);
}
@ -987,7 +959,7 @@ public class LiveHttpUtil {
* 修改im备注信息
*/
public static void setInstructorRemark(String touid, String remark, HttpCallback callback) {
HttpClient.getInstance().get("User.setInstructorRemark", LiveHttpConsts.SETINSTRUCTORREMARK)
HttpClient.getInstance().get("shezhiyonghubeizhuming", LiveHttpConsts.SETINSTRUCTORREMARK)
.params("touid", touid)
.params("remark", remark)
.execute(callback);
@ -1015,7 +987,7 @@ public class LiveHttpUtil {
* 获取用户贵族喇叭的数量
*/
public static void getStarChallengeStatus(String liveUid, HttpCallback callback) {
HttpClient.getInstance().get("StarChallenge.getStarChallengeStatus", "StarChallengeStatus")
HttpClient.getInstance().get("huoquxingjitiaozhanzhuangtai", "huoquxingjitiaozhanzhuangtai")
.params("liveUid", liveUid)
.execute(callback);
}
@ -1024,14 +996,14 @@ public class LiveHttpUtil {
* 首页关注直播
*/
public static void getHomeFollow(int p, HttpCallback callback) {
HttpClient.getInstance().get("Home.getFollow", "Home.getFollow")
HttpClient.getInstance().get("huoquguanzhuzhuboliebiao", "huoquguanzhuzhuboliebiao")
.params("p", p)
.execute(callback);
}
public static void getRoomList(String sudGameId, String threshold, String roomHolderType, String liveUid, String currencyType, int page, HttpCallback callback) {
HttpClient.getInstance().get("Sudgameserver.getRoomList", "Sudgameserver.getRoomList")
HttpClient.getInstance().get("huoquxingjitiaozhanzhuangtai", "huoquxingjitiaozhanzhuangtai")
.params("sud_game_id", sudGameId)
.params("threshold", threshold)
.params("room_holder_type", roomHolderType)
@ -1051,7 +1023,7 @@ public class LiveHttpUtil {
* @param callback
*/
public static void gameRecord(String sudGameId, String currencyType, String dateType, int page, HttpCallback callback) {
HttpClient.getInstance().get("Sudgameserver.gameRecord", "Sudgameserver.gameRecord")
HttpClient.getInstance().get("chaxunyouxijilu", "chaxunyouxijilu")
.params("sud_game_id", sudGameId)
.params("currency_type", currencyType)
.params("date_type", dateType)
@ -1063,7 +1035,7 @@ public class LiveHttpUtil {
* 获取短剧Url
*/
public static void getCoolydrama(HttpCallback callback){
HttpClient.getInstance().get("cool.register", "Home.getFollow")
HttpClient.getInstance().get("duanjuzhanghaozhuce", "duanjuzhanghaozhuce")
.params("lang", WordUtil.isNewZh()?"zh_CN":"en")
.execute(callback);
}

View File

@ -122,7 +122,7 @@ public interface PDLiveApi {
* @return
*/
@FormUrlEncoded
@POST("/api/public/?service=Login.userLogin")
@POST("/api/public/?service=huiyuandenglu")
Observable<ResponseModel<IMLoginModel>> loginByManager(
@Field("user_login") String userName,
@Field("user_pass") String passWord,
@ -233,7 +233,7 @@ public interface PDLiveApi {
* @param liveuid
* @return
*/
@GET("/api/public/?service=User.setAttents")
@GET("/api/public/?service=shezhiguanzhu")
Observable<ResponseModel<List<SetAttentsModel>>> setAttents(
@Query("touid") String liveuid
);
@ -249,13 +249,13 @@ public interface PDLiveApi {
/**
* 获取活动
*/
@GET("/api/public/?service=Active.getActiveList")
@GET("/api/public/?service=huoquhuodongliebiao")
Observable<ResponseModel<List<ActiveModel>>> getActiveList();
/**
* 获取多人连麦列表
*/
@GET("/api/public/?service=live.getDrLm")
@GET("/api/public/?service=huoqulianmaizhuangtai")
Observable<ResponseModel<List<LinkMicUserBeanV2>>> getDrLm(@Query("uid") String uid);
/**
@ -278,19 +278,19 @@ public interface PDLiveApi {
/**
* 获取推送关注的开关和关注列表
*/
@GET("/api/public/?service=Tx.offlineMsgSwitchDetail")
@GET("/api/public/?service=lixianxiaoxixiangqing")
Observable<ResponseModel<MsgSwitchDetailModel>> getMsgSwitchDetail();
/**
* 推送关注的开关设置
*/
@GET("/api/public/?service=Tx.setMsgMasterSwitch")
@GET("/api/public/?service=shezhilixianxiaoxizhuangtai")
Observable<ResponseModel<BaseModel>> setMsgMasterSwitch(@Query("status") String status, @Query("type") String type);
/**
* 开播推送设置开关
*/
@GET("/api/public/?service=Tx.setBeginShowMsgSwitch")
@GET("/api/public/?service=shezhikaiboxiaoxizhuangtai")
Observable<ResponseModel<List<BaseModel>>> setBeginShowMsgSwitch(@Query("status") String status, @Query("isAll") String isAll, @Query("liveuid") String liveuid);
/**
@ -310,13 +310,13 @@ public interface PDLiveApi {
/**
* 获取当前用户指导员ID
*/
@GET("/api/public/?service=User.getUserInstructor")
@GET("/api/public/?service=huoquyonghuzhidaoyuan")
Observable<ResponseModel<List<VipModel>>> getUserInstructor();
/**
* 获取隐藏榜单的用户id
*/
@GET("/api/public/?service=Noble.getNobleRankHideUserList")
@GET("/api/public/?service=huoquguizubangdanyinshenliebiao")
Observable<ResponseModel<NobleRankHideUserListModel>> getNobleRankHideUserList();
/**
@ -325,7 +325,7 @@ public interface PDLiveApi {
* @param liveUid
* @return
*/
@GET("/api/public/?service=StarChallenge.getStarChallengeStatus")
@GET("/api/public/?service=huoquxingjitiaozhanzhuangtai")
Observable<ResponseModel<StarChallengeStatusModel>> getStarChallengeStatus(@Query("liveUid") String liveUid);
/**
@ -343,13 +343,13 @@ public interface PDLiveApi {
/**
* 任务领取接口
*/
@GET("/api/public/?service=Task.sendTaskGift")
@GET("/api/public/?service=wanchengrenwulingqujiangli")
Observable<ResponseModel<List<Observable>>> sendTaskGift(@Query("flag") String flag, @Query("type") String type);
/**
* PK排位赛接口
*/
@GET("/api/public/?service=Ranking.getAnchorRankData")
@GET("/api/public/?service=huoquzhuboduanweixinxi")
Observable<ResponseModel<PkRankBean>> getPkRanksList(@Query("anchor_id") String anchorId, @Query("anchor_id2") String pkUid);
/**
@ -404,7 +404,7 @@ public interface PDLiveApi {
/**
* 加入房间推送Im欢迎语
*/
@GET("/api/public/?service=Tx.userJoinRoomNew")
@GET("/api/public/?service=xinbanyonghujiarufangjian")
Observable<ResponseModel<String>> userJoinRoomNew(
@Query("GroupId") String GroupId,
@Query("stream") String stream
@ -413,7 +413,7 @@ public interface PDLiveApi {
/**
* 加入房间推送Im欢迎语
*/
@GET("/api/public/?service=Tx.leaveRoomNew")
@GET("/api/public/?service=xinbanlikaizhibojian")
Observable<ResponseModel<List<Object>>> leaveRoomNew(
@Query("GroupId") String GroupId,
@Query("stream") String stream
@ -477,13 +477,13 @@ public interface PDLiveApi {
/**
* 拒绝随机PK
*/
@GET("/api/public/?service=Ranking.getRankingInfo")
@GET("/api/public/?service=huoqupaiweisaipeizhixinxi")
Observable<ResponseModel<RankPkInfoBean>> getRankingInfo();
/**
* 获取转盘整蛊列表
*/
@GET("/api/public/?service=Prank.getAnchorPrankTurntable")
@GET("/api/public/?service=huoquzhubozhenggudan")
Observable<ResponseModel<PrankHttpTurntableBean>> getAnchorPrankTurntable(
@Query("anchor_id") String anchor_id
);
@ -491,7 +491,7 @@ public interface PDLiveApi {
/**
* 提交整蛊
*/
@GET("/api/public/?service=Prank.setAnchorPrankTurntable")
@GET("/api/public/?service=shezhizhubozhenggudan")
Observable<ResponseModel<List<BaseModel>>> setAnchorPrankTurntable(
@Query("anchor_id") String anchor_id,
@Query("coin") String coin,
@ -507,7 +507,7 @@ public interface PDLiveApi {
/**
* 转盘整蛊结束后调用的接口
*/
@GET("/api/public/?service=Prank.endPrankTurntable")
@GET("/api/public/?service=zhenggudaojishijieshu")
Observable<ResponseModel<List<BaseModel>>> endPrankTurntable(
@Query("anchor_id") String anchor_id
);
@ -516,7 +516,7 @@ public interface PDLiveApi {
/**
* 获取整蛊列表
*/
@GET("/api/public/?service=Prank.prankList")
@GET("/api/public/?service=zhenggudanliebiao")
Observable<ResponseModel<PrankGiftResultBean>>prankList(
@Query("anchor_id") String anchor_id,
@Query("prank_type") String prank_type
@ -525,13 +525,13 @@ public interface PDLiveApi {
/**
* 获取整蛊进度列表
*/
@GET("/api/public/?service=Prank.prankCompletedList")
@GET("/api/public/?service=zhenggulibiao")
Observable<ResponseModel<PrankProgressBean>> getPrankProgressList(@Query("anchor_id") String anchor_id);
/**
* 设置礼物整蛊
*/
@GET("/api/public/?service=Prank.setPrank")
@GET("/api/public/?service=shezhizhengguliwu")
Observable<ResponseModel<List<BaseModel>>> setPrank(
@Query("anchor_id") String anchor_id,
@Query("status") String status,
@ -544,7 +544,7 @@ public interface PDLiveApi {
/**
* 删除礼物整蛊
*/
@GET("/api/public/?service=Prank.deletePrank")
@GET("/api/public/?service=shanchuzhenggudanv2")
Observable<ResponseModel<List<BaseModel>>> deletePrank(
@Query("anchor_id") String anchor_id,
@Query("prank_index") String prank_index
@ -561,7 +561,7 @@ public interface PDLiveApi {
/**
* 获取机器人信息
*/
@GET("/api/public/?service=Live.getAnchorAiState")
@GET("/api/public/?service=huoquzhushoujiqirenxinxi")
Observable<ResponseModel<LiveAiRobotBean>> getAnchorAiState(
);
@ -619,7 +619,7 @@ public interface PDLiveApi {
@Query("liveuid") String liveUid
);
@GET("/api/public/?service=live.jieshuDRPK")
@GET("/api/public/?service=jieshuduorenpk")
Observable<ResponseModel<BaseModel>> jieshuDRPK(
@Query("roomid") String roomId,
@Query("uid") String uid);
@ -632,7 +632,7 @@ public interface PDLiveApi {
/**
* 获取主播任务列表
*/
@GET("/api/public/?service=Live.getLiveTaskStatus")
@GET("/api/public/?service=huoquzhiborenwuzhuangtai")
Observable<ResponseModel<LiveTaskModel>> getLiveTaskList(
@Query("type") int type,
@Query("liveuid") String liveUid
@ -758,19 +758,19 @@ public interface PDLiveApi {
/**
* 获取地区
*/
@GET("/api/public/?service=User.getUserArea")
@GET("/api/public/?service=huoquyonghudiqu")
Observable<ResponseModel<UserAreaBean>> getUserArea();
/**
* 注销账号
*/
@GET("/api/public/?service=User.setLogOff")
@GET("/api/public/?service=yonghuzhuxiaozhanghao")
Observable<ResponseModel<List<Object>>> setLogOff();
/**
* 领取完善资料奖励
*/
@GET("/api/public/?service=Task.userInfoTask")
@GET("/api/public/?service=yonghulingqujiangli")
Observable<ResponseModel<List<Object>>> userInfoTask();
/**
@ -899,7 +899,7 @@ public interface PDLiveApi {
/**
* 获取系统默认头像列表
*/
@GET("/api/public/?service=Userhome.getDefaultAvatarList")
@GET("/api/public/?service=uhhuoquxitongmorentouxiang")
Observable<ResponseModel<List<UserAvatarSelectBean>>> getSystemUserAvatar();
/**
@ -907,7 +907,7 @@ public interface PDLiveApi {
*
* @param id 头像id
*/
@GET("/api/public/?service=Userhome.setAvatar")
@GET("/api/public/?service=uhshezhixitongtouxiang")
Observable<ResponseModel<Object>> setSystemUserAvatar(
@Query("avatar_id") int id
);
@ -1021,7 +1021,7 @@ public interface PDLiveApi {
@GET("/api/public/?service=jianchayonghufensiliwuzhuangtai")
Observable<ResponseModel<FansCheckRed>> getCheckFansLevelUpgrade(@Query("liveuid") String liveUid);
@GET("/api/public/?service=gift.getGiftNamingInfo")
@GET("/api/public/?service=huoquliwuxinxi")
Observable<ResponseModel<GiftNamingInfoModel>> getGiftNamingInfo(@Query("gift_id") String giftId);
/**
@ -1029,13 +1029,13 @@ public interface PDLiveApi {
*
* @return
*/
@GET("/api/public/?service=Sudgame.getCode")
@GET("/api/public/?service=sudhuoquyanzhengma")
Observable<ResponseModel<List<SudgameCodeModel>>> getCode();
/**
* 获取房间金豆门槛和赢家获得的金豆
*/
@GET("/api/public/?service=Sudgameserver.checkRemainingBalance")
@GET("/api/public/?service=jianchayonghuyue")
Observable<ResponseModel<SudGameScoreBean>> getScore(
@Query("room_id") String roomId
);
@ -1043,7 +1043,7 @@ public interface PDLiveApi {
/**
* 获取游戏中玩家的信息
*/
@GET("/api/public/?service=Sudgameserver.getGameUser")
@GET("/api/public/?service=huoquduijuzhongyonghuxinxi")
Observable<ResponseModel<List<SudGameInfoBean>>> getSudGameInfo(
@Query("room_id") String roomId
);
@ -1053,7 +1053,7 @@ public interface PDLiveApi {
*
* @return
*/
@GET("/api/public/?service=Sudgameserver.createSudRoom")
@GET("/api/public/?service=chuangjiansudfangjian")
Observable<ResponseModel<CreateSudRoomModel>> createSudRoom(
@Query("room_name") String roomName,
@Query("golden_bean_number") String goldenBeanNumber,
@ -1066,7 +1066,7 @@ public interface PDLiveApi {
*
* @return
*/
@GET("/api/public/?service=Sudgameserver.getRoomList")
@GET("/api/public/?service=huoquyouxiliebiao")
Observable<ResponseModel<List<SudRoomListModel>>> getRoomList(
@Query("sud_game_id") String sudGameId,
@Query("threshold") String threshold,
@ -1079,7 +1079,7 @@ public interface PDLiveApi {
/**
* 获取游戏房列表 - 搜索
*/
@GET("/api/public/?service=Sudgameserver.getRoomList")
@GET("/api/public/?service=huoquyouxiliebiao")
Observable<ResponseModel<List<SudRoomListModel>>> searchRoomList(
@Query("sud_game_id") String sudGameId,
@Query("threshold") String threshold,
@ -1090,19 +1090,19 @@ public interface PDLiveApi {
@Query("page") int page
);
@GET("/api/public/?service=Sudgameserver.checkRemainingBalance")
@GET("/api/public/?service=jianchayonghuyue")
Observable<ResponseModel<CheckRemainingBalance>> checkRemainingBalance(
@Query("room_id") String roomId
);
@GET("/api/public/?service=Sudgameserver.randomRoom")
@GET("/api/public/?service=suijijinrufangjian")
Observable<ResponseModel<CreateSudRoomModel>> randomRoom(
@Query("sud_game_id") String sudGameId,
@Query("threshold") String threshold,
@Query("room_holder_type") String roomHolderType
);
@GET("/api/public/?service=Sudgameserver.checkRoomStatus")
@GET("/api/public/?service=jianchafangjianzhuangtai")
Observable<ResponseModel<CreateSudRoomModel>> checkRoomStatus(
@Query("room_id") String roomId
);
@ -1113,40 +1113,34 @@ public interface PDLiveApi {
@GET("/api/public/?service=huoqutanchuangshuju")
Observable<ResponseModel<List<OpenAdModel>>> activityPopup();
@GET("/api/public/?service=Sudgameserver.gameStartCheckRemainingBalance")
@GET("/api/public/?service=youxikaishijianchayonghuyue")
Observable<ResponseModel<CheckRemainingBalance>> gameStartCheckRemainingBalance(
@Query("mg_id") String mgId,
@Query("room_id") String roomId
);
@GET("/api/public/?service=Sudgameserver.deductMoney")
Observable<ResponseModel<Object>> deductMoney(
@Query("room_id") String roomId
);
@GET("/api/public/?service=Sudgameserver.checkCurrency")
@GET("/api/public/?service=jianchaxingbizhuangtai")
Observable<ResponseModel<CheckCurrencyModel>> checkCurrency(
);
@GET("/api/public/?service=Quickgift.sendGift")
@GET("/api/public/?service=zengsongxiaopdliwu")
Observable<ResponseModel<QuickGiftSendGiftModel>> quickGiftSendGift(
@Query("quick_gift_number") String quickGiftNumber,
@Query("liveuid") String liveUid,
@Query("stream") String stream
);
@GET("/api/public/?service=Quickgift.viewingDurationGetGift")
@GET("/api/public/?service=guankanhuoquxiaopdliwu")
Observable<ResponseModel<QuickGiftSendGiftModel>> viewingDurationGetGift(
@Query("liveuid") String liveUid
);
@GET("/api/public/?service=cool.config")
@GET("/api/public/?service=yonghupeizhixinxi")
Observable<ResponseModel<CoolConfig>> getCoolConfig();
@FormUrlEncoded
@POST("/api/public/?service=cool.buy_ticket")
@POST("/api/public/?service=guomaiguanyingquan")
Observable<ResponseModel<Object>> buyTicket(
@Field("quantity") String quantity
);
@ -1196,22 +1190,22 @@ public interface PDLiveApi {
@GET("/api/public/?service=tianjialiaotianshu")
Observable<ResponseModel<List<BaseModel>>> addChatCount(@Query("stream") String stream);
@GET("/api/public/?service=Sudgameserver.joinMic")
@GET("/api/public/?service=youxizhongyonghushangmai")
Observable<ResponseModel<List<BaseModel>>> joinMic(@Query("room_id") String roomId);
@GET("/api/public/?service=Sudgameserver.onMic")
@GET("/api/public/?service=youxizhongdakaimaikefeng")
Observable<ResponseModel<List<BaseModel>>> onMic(@Query("room_id") String roomId);
@GET("/api/public/?service=Sudgameserver.offMic")
@GET("/api/public/?service=youxizhongguanbimaikefeng")
Observable<ResponseModel<List<BaseModel>>> offMic(@Query("room_id") String roomId);
@GET("/api/public/?service=Sudgameserver.leaveMic")
@GET("/api/public/?service=youxizhongyonghuxiamai")
Observable<ResponseModel<List<BaseModel>>> leaveMic(@Query("room_id") String roomId);
@GET("/api/public/?service=Sudgameserver.getRoomMicData")
@GET("/api/public/?service=huoqufangjianshangmaishuju")
Observable<ResponseModel<List<SudGameUserModel>>> getRoomMicData(@Query("room_id") String roomId);
@GET("/api/public/?service=Sudgameserver.getRoomMicStatus")
@GET("/api/public/?service=huoquyuyinzhuangtai")
Observable<ResponseModel<RoomMicStatusModel>> getRoomMicStatus();
@GET("/api/public/?service=huoqushouhukaitongxinxi")
@ -1245,11 +1239,11 @@ public interface PDLiveApi {
@POST("/api/public/?service=pdltouxiangshangchuan")
Observable<ResponseModel<AvatarBean>> updateFile(@Part MultipartBody.Part file, @Query("uid") String uid, @Query("token") String token);
@GET("/api/public/?service=User.userFeedback")
@GET("/api/public/?service=yonghufankui")
Observable<ResponseModel<List<BaseModel>>> feedback(@Query("problem_description") String content, @Query("problem_image") String images, @Query("contact_information") String ci);
@GET("/api/public/?service=User.userFeedbackRestrict")
@GET("/api/public/?service=jianchafankuitijiaocishu")
Observable<ResponseModel<List<BaseModel>>> checkFeedback();
/**
@ -1263,7 +1257,7 @@ public interface PDLiveApi {
* @param payload 附加值
* @return
*/
@GET("/api/public/?service=Sudgameserver.createOrder")
@GET("/api/public/?service=youxizhongchuangjiandingdan")
Observable<ResponseModel<List<BaseModel>>> createGameOrder(
@Query("room_id")String roomId,
@Query("cmd")String cmd,
@ -1273,7 +1267,7 @@ public interface PDLiveApi {
@Query("to_uid")String toUid,
@Query("payload")String payload
);
@GET("/api/public/?service=Tx.getShengwangToken")
@GET("/api/public/?service=houqushengwanglingpai")
Observable<ResponseModel<SwTokenModel>> getSwToken();
@ -1283,12 +1277,12 @@ public interface PDLiveApi {
* @param gift_id
* @return
*/
@GET("/api/public/?service=Prank.anchorClickFinish")
@GET("/api/public/?service=zhubowanchengzhenggu")
Observable<ResponseModel<List<BaseModel>>> anchorClickFinish(
@Query("anchor_id")String anchor_id,
@Query("gift_id")String gift_id
);
@GET("/api/public/?service=Tx.androidQiniuLog")
@GET("/api/public/?service=shezhiqiniurizhizhuangtai")
Observable<ResponseModel<QiniuLog>> getPrankList(
@Query("type")String type
);
@ -1354,26 +1348,26 @@ public interface PDLiveApi {
@GET("/api/public/?service=jianchaweiduchufanxiaoxi")
Observable<ResponseModel> getPenalizeStatus();
@GET("/api/public/?service=Sudgameserver.ballClearanceTableStatus")
@GET("/api/public/?service=yiganqingtaigengxinhuancun")
Observable<ResponseModel<BaseModel>> ballClearanceTableStatus(
@Query("room_id")String roomId
);
@GET("/api/public/?service=Sudgameserver.ballClearanceTableGetResultScore")
@GET("/api/public/?service=huoquyouxijiesuanjifen")
Observable<ResponseModel<List<SudActivityGameInfoBean>>> ballClearanceTableGetResultScore(
@Query("room_id")String roomId
);
@GET("/api/public/?service=Sudgameserver.ballClearanceTableAiAdd")
@GET("/api/public/?service=jiaruaiyonghu")
Observable<ResponseModel<SudGameAiInfo>> ballClearanceTableAiAdd(
@Query("room_id")String roomId
);
@GET("/api/public/?service=Sudgameserver.ballClearanceTableGetRoomInfo")
@GET("/api/public/?service=huoqufangjianzuoweiliebiao")
Observable<ResponseModel<SudGameRoomInfoBean>> ballClearanceTableGetRoomInfo(
@Query("room_id")String roomId
);
@GET("/api/public/?service=Sudgameserver.ballClearanceTableJoinRoom")
@GET("/api/public/?service=yonghusuijipipeijinrufangjian")
Observable<ResponseModel<BallClearanceTableJoinRoomBean>> ballClearanceTableJoinRoom (
);
@GET("/api/public/?service=Sudgameserver.getRoomInfo")
@GET("/api/public/?service=huoqufangjianxiangqing")
Observable<ResponseModel<SudGameActivityInfoRoomBean>> checkGameForActivity(
@Query("room_id")String roomId
);

View File

@ -447,7 +447,7 @@ public class IMLoginManager extends BaseCacheManager {
private Runnable isInstructorRunnable = new Runnable() {
@Override
public void run() {
HttpClient.getInstance().get("User.isInstructor", "isInstructor")
HttpClient.getInstance().get("shifouweituiguangzhanghao", "isInstructor")
.params("uid", userInfo.getId(), true)
.params("token", userInfo.getToken(), true)
.execute(new HttpCallback() {
@ -518,7 +518,7 @@ public class IMLoginManager extends BaseCacheManager {
String uid = uidAndToken[0];
String token = uidAndToken[1];
if (TextUtils.isEmpty(token)) return;
HttpClient.getInstance().get("User.getBaseInfos", "getBaseInfo")
HttpClient.getInstance().get("huoquyonghujibenxinxiv2", "getBaseInfo")
.params("uid", uid)
.params("token", token)
.execute(new HttpCallback() {
@ -539,7 +539,7 @@ public class IMLoginManager extends BaseCacheManager {
}
public void updateUserCoin() {
HttpClient.getInstance().get("User.getUserBalance", "User.getUserBalance")
HttpClient.getInstance().get("chaxunyonghuyue", "chaxunyonghuyue")
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
@ -557,7 +557,7 @@ public class IMLoginManager extends BaseCacheManager {
}
public void updateUserCoin(OnItemClickListener<JSONObject> listener) {
HttpClient.getInstance().get("User.getUserBalance", "User.getUserBalance")
HttpClient.getInstance().get("chaxunyonghuyue", "chaxunyonghuyue")
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {

View File

@ -102,7 +102,7 @@ public class InstructorRemarkManager extends BaseCacheManager {
@Override
public void run() {
IMLoginModel userInfo = IMLoginManager.get(context).getUserInfo();
HttpClient.getInstance().get("User.getInstructorRemark", "getInstructorRemark")
HttpClient.getInstance().get("huoqutuiguangbeizhumingliebiao", "huoqutuiguangbeizhumingliebiao")
.params("uid", userInfo.getId(),true)
.params("token", userInfo.getToken(),true)
.execute(new HttpCallback() {

View File

@ -101,7 +101,7 @@ public class MessageIMManager {
if (userInfo == null) {
return;
}
HttpClient.getInstance().get("Message.getLists", "getImUserInfo")
HttpClient.getInstance().get("huoquxitongxiaoxiliebiaov2", "huoquxitongxiaoxiliebiaov2")
.params("uid", userInfo.getId())
.params("token", userInfo.getToken())
.execute(new HttpCallback() {
@ -164,7 +164,7 @@ public class MessageIMManager {
public void getSystemMessages(SystemMessagesHttpCallback callback) {
systemNumber = 0;
IMLoginModel userInfo = IMLoginManager.get(mContext).getUserInfo();
HttpClient.getInstance().get("Message.getLists", "getImUserInfo")
HttpClient.getInstance().get("huoquxitongxiaoxiliebiaov2", "huoquxitongxiaoxiliebiaov2")
.params("uid", userInfo.getId())
.params("token", userInfo.getToken())
.execute(new HttpCallback() {

View File

@ -658,7 +658,7 @@ public class JavascriptInterfaceUtils {
@JavascriptInterface
public void wearOrCancelFanMedal() {
HttpClient.getInstance().get("User.getBaseInfos", "getBaseInfo")
HttpClient.getInstance().get("huoquyonghujibenxinxiv2", "getBaseInfo")
.params("uid", IMLoginManager.get(mContext).getUserInfo().getId())
.params("token", IMLoginManager.get(mContext).getUserInfo().getToken())
.execute(new HttpCallback() {

View File

@ -104,7 +104,7 @@ public class MicStatusManager {
* 断开连麦
*/
public void downMic() {
HttpClient.getInstance().get("live.leaveDrLm", "live.leaveDrLm")
HttpClient.getInstance().get("tuichuduorenlianmai", "tuichuduorenlianmai")
.params("roomid", micLiveId)
.params("uid", CommonAppConfig.getInstance().getUid())
.execute(new HttpCallback() {

View File

@ -232,7 +232,7 @@ public class LiveAnchorActivity extends LiveActivity implements LiveFunctionClic
mLivePushViewHolder.leave.setVisibility(View.GONE);
sendSystemMessage(mContext.getString(R.string.live_anchor_come_back));
}
HttpClient.getInstance().get("Live.isLeave", "Live.isLeave")
HttpClient.getInstance().get("likaizhibo", "likaizhibo")
.params("isleave", leave)
.execute(new Callback<JsonBean>() {
@Override

View File

@ -1236,7 +1236,7 @@ public class LiveAudienceActivity extends LiveActivity {
manager.micIngTypeTwo(event.getBean(), event.getLiveType(), event.getLiveTypeVal());
} else {
//获取房间连麦状态
HttpClient.getInstance().get("live.getDrLm", "live.getDrLm").params("uid", mLiveUid, true).execute(new HttpCallback() {
HttpClient.getInstance().get("huoqulianmaizhuangtai", "huoqulianmaizhuangtai").params("uid", mLiveUid, true).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
if (code == 0) {

View File

@ -400,7 +400,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
// return;
// }
if (isDRPK != 1) {
HttpClient.getInstance().get("live.getdrnum", "live.getdrnum")
HttpClient.getInstance().get("huoqushengyupkshu", "huoqushengyupkshu")
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
@ -414,7 +414,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
new DialogUitl.SimpleCallback2() {
@Override
public void onConfirmClick(Dialog dialog, String content) {
HttpClient.getInstance().get("live.createDRPKroom", "live.createDRPKroom")
HttpClient.getInstance().get("chuangjianduorenpk", "chuangjianduorenpk")
.params("type", "1")
.params("sign", "1")
.execute(new HttpCallback() {
@ -572,7 +572,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
sendSystemMessageRy(mContext.getString(R.string.live_anchor_come_back));
}
HttpClient.getInstance().get("Live.isLeave", "Live.isLeave")
HttpClient.getInstance().get("likaizhibo", "likaizhibo")
.params("uid", CommonAppConfig.getInstance().getUid())
.params("isleave", leave)
.params("token", CommonAppConfig.getInstance().getToken())

View File

@ -410,7 +410,7 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl
// return;
// }
if (isDRPK != 1) {
HttpClient.getInstance().get("live.getdrnum", "live.getdrnum")
HttpClient.getInstance().get("huoqushengyupkshu", "huoqushengyupkshu")
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
@ -424,7 +424,7 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl
new DialogUitl.SimpleCallback2() {
@Override
public void onConfirmClick(Dialog dialog, String content) {
HttpClient.getInstance().get("live.createDRPKroom", "live.createDRPKroom")
HttpClient.getInstance().get("chuangjianduorenpk", "chuangjianduorenpk")
.params("type", "1")
.params("sign", "1")
.execute(new HttpCallback() {
@ -588,7 +588,7 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl
mLiveAnchorViewHolder.setLeaveFlag(false);
}
HttpClient.getInstance().get("Live.isLeave", "Live.isLeave")
HttpClient.getInstance().get("likaizhibo", "likaizhibo")
.params("uid", CommonAppConfig.getInstance().getUid())
.params("isleave", leave)
.params("token", CommonAppConfig.getInstance().getToken())

View File

@ -410,7 +410,7 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
* 设置贵族状态
*/
private void loadUserVip() {
HttpClient.getInstance().get("User.getBaseInfos", "getBaseInfo")
HttpClient.getInstance().get("huoquyonghujibenxinxiv2", "getBaseInfo")
.params("uid", IMLoginManager.get(mContext).getUserInfo().getId())
.params("token", IMLoginManager.get(mContext).getUserInfo().getToken())
.execute(new HttpCallback() {

View File

@ -513,7 +513,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
* 设置贵族状态
*/
private void loadUserVip() {
HttpClient.getInstance().get("User.getBaseInfos", "getBaseInfo")
HttpClient.getInstance().get("huoquyonghujibenxinxiv2", "getBaseInfo")
.params("uid", IMLoginManager.get(mContext).getUserInfo().getId())
.params("token", IMLoginManager.get(mContext).getUserInfo().getToken())
.execute(new HttpCallback() {

View File

@ -280,7 +280,7 @@ public class LiveMicUserDialogFragment extends AbsDialogFragment implements View
public void onConfirmClick(Dialog dialog, String content) {
Log.e("ry", "退出112");
// //退出多人房间
HttpClient.getInstance().get("live.leaveDrLm", "live.leaveDrLm")
HttpClient.getInstance().get("tuichuduorenlianmai", "tuichuduorenlianmai")
.params("roomid", LiveActivity.mLiveUid)
.params("uid", CommonAppConfig.getInstance().getUid())
.execute(new HttpCallback() {

View File

@ -151,7 +151,7 @@ public class MenuPopuwWindow implements View.OnClickListener {
private Runnable setBlackRunnable = new Runnable() {
@Override
public void run() {
HttpClient.getInstance().get("User.setBlack", "setBlack")
HttpClient.getInstance().get("shezhilaheizhuangtai", "setBlack")
.params("touid", userId);
}
};

View File

@ -20,7 +20,7 @@ public class ImHttpUtil {
* 私信聊天页面用于获取用户信息
*/
public static void getImUserInfo(String uids, HttpCallback callback) {
HttpClient.getInstance().get("Message.getLists", ImHttpConsts.GET_IM_USER_INFO)
HttpClient.getInstance().get("huoquxitongxiaoxiliebiaov2", ImHttpConsts.GET_IM_USER_INFO)
.execute(callback);
}
@ -59,7 +59,7 @@ public class ImHttpUtil {
* 判断自己有没有被对方拉黑聊天的时候用到
*/
public static void checkBlack(String touid, HttpCallback callback) {
HttpClient.getInstance().get("User.checkBlack", ImHttpConsts.CHECK_BLACK)
HttpClient.getInstance().get("jiancelaheizhuangtai", ImHttpConsts.CHECK_BLACK)
.params("touid", touid)
.execute(callback);
}
@ -68,7 +68,7 @@ public class ImHttpUtil {
* 拉黑对方 解除拉黑
*/
public static void setBlack(String touid, HttpCallback callback) {
HttpClient.getInstance().get("User.setBlack", ImHttpConsts.SET_BLACK)
HttpClient.getInstance().get("shezhilaheizhuangtai", ImHttpConsts.SET_BLACK)
.params("touid", touid)
.execute(callback);
}

View File

@ -272,13 +272,13 @@ public class LiveLinkMicPkPresenter implements View.OnClickListener {
String pkUid = datas.getString("pkuid");
Log.i("seed", seed_msg.mResult.toString());
HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + pkUid)
.params("jsonstr", seed_msg.mResult.toString())
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + CommonAppConfig.getInstance().getUid())
.params("jsonstr", seed_msg.mResult.toString())
.execute(new HttpCallback() {

View File

@ -420,13 +420,13 @@ public class LiveRyLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V
Log.e("ry1", datas.getString("win_uid") + "VVVVVV" + datas.getString("pkuid"));
HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + pkUid)
.params("jsonstr", seed_msg.mResult.toString())
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + CommonAppConfig.getInstance().getUid())
.params("jsonstr", seed_msg.mResult.toString())
.execute(new HttpCallback() {

View File

@ -363,10 +363,10 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V
Log.e("ry1", datas.getString("win_uid") + "VVVVVV" + datas.getString("pkuid"));
HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
@ -456,7 +456,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V
public void onLinkDRMicPkQuit(String uid) {
HttpClient.getInstance().get("Live.getDRPKroom", "Live.getDRPKroom").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() {
HttpClient.getInstance().get("huoquduorenpkfangjian", "huoquduorenpkfangjian").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
if (info.length > 0) {
@ -702,7 +702,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V
public void onSuccess(int code, String msgs, String[] info) {
if (code == 0) {
Log.i("多人PK", "1code = " + code + ", msgs = " + msgs + ", info = " + Arrays.deepToString(info) + " mApplyUid = " + mApplyUid);
HttpClient.getInstance().get("live.getdrnum", "live.getdrnum").execute(new HttpCallback() {
HttpClient.getInstance().get("huoqushengyupkshu", "huoqushengyupkshu").execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
Log.i(TAG, "code = " + code + ", msg = " + msg + ", info = " + Arrays.deepToString(info));
@ -715,7 +715,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V
}
boolean finalAgree = agree;
if (finalAgree) {
HttpClient.getInstance().get("live.joinDRPKroom", "live.joinDRPKroom").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", u.getId()).execute(new HttpCallback() {
HttpClient.getInstance().get("jiaruduorenpkfangjian", "jiaruduorenpkfangjian").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", u.getId()).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
@ -738,7 +738,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V
L.eSw("将自己从多人pk列表里剔除" + new Gson().toJson(drPkbeans));
}
HttpClient.getInstance().get("Live.getDRPKroom", "Live.getDRPKroom").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() {
HttpClient.getInstance().get("huoquduorenpkfangjian", "huoquduorenpkfangjian").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
if (info.length > 0) {
@ -1279,7 +1279,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V
public void dRjoinOtherRoom(UserBean u) {
L.eSw("dRjoinOtherRoom UserBeanUserBeanUserBeanUserBeanUserBeanUserBeanUserBeanUserBean ");
setMyDrPkDetailsView();
HttpClient.getInstance().get("Live.getDRPKroom", "Live.getDRPKroom").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() {
HttpClient.getInstance().get("huoquduorenpkfangjian", "huoquduorenpkfangjian").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", mApplyUid).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
if (info.length > 0) {

View File

@ -144,7 +144,7 @@ public class LiveAudienceViewHolder extends AbsLiveViewHolder {
@Override
public void onClick(View v) {
//获取房间连麦状态
HttpClient.getInstance().get("live.getDrLm", "live.getDrLm")
HttpClient.getInstance().get("huoqulianmaizhuangtai", "huoqulianmaizhuangtai")
.params("uid", mLiveUid, true)
.execute(new HttpCallback() {
@Override

View File

@ -1276,7 +1276,7 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder {
audioManager.setMode(AudioManager.MODE_IN_COMMUNICATION);
audioManager.setSpeakerphoneOn(true);
HttpClient.getInstance().get("live.joinDrLm", "live.joinDrLm")
HttpClient.getInstance().get("jiaruduorenlianmai", "jiaruduorenlianmai")
.params("roomid", LiveActivity.mLiveUid)
.execute(new HttpCallback() {
@Override

View File

@ -319,7 +319,7 @@ public class LivePlaySwViewHolder extends LiveRoomPlayViewHolder {
}
}
HttpClient.getInstance().get("Live.getDRPKroom", "Live.getDRPKroom").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", liveUid).execute(new HttpCallback() {
HttpClient.getInstance().get("huoquduorenpkfangjian", "huoquduorenpkfangjian").params("uid", CommonAppConfig.getInstance().getUid()).params("roomid", liveUid).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
if (info.length > 0) {
@ -404,7 +404,7 @@ public class LivePlaySwViewHolder extends LiveRoomPlayViewHolder {
*/
private void joinLiveMic() {
L.eSw("joinLiveMic");
HttpClient.getInstance().get("live.joinDrLm", "live.joinDrLm").params("roomid", LiveActivity.mLiveUid).execute(new HttpCallback() {
HttpClient.getInstance().get("jiaruduorenlianmai", "jiaruduorenlianmai").params("roomid", LiveActivity.mLiveUid).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
Log.e("ry", code + "热热热");

View File

@ -559,14 +559,14 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX
.param("uid", CommonAppConfig.getInstance().getUid());
seed_msg.create();
Log.i("seed", seed_msg.mResult.toString());
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + pkUid)
.params("jsonstr", seed_msg.mResult.toString())
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + CommonAppConfig.getInstance().getUid())
.params("jsonstr", seed_msg.mResult.toString())
.execute(new HttpCallback() {
@ -584,13 +584,13 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX
seed_msgs.create();
Log.i("seed", seed_msgs.mResult.toString());
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + LiveRyLinkMicPkPresenter.oldmPkUid)
.params("jsonstr", seed_msgs.mResult.toString())
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + CommonAppConfig.getInstance().getUid())
.params("jsonstr", seed_msgs.mResult.toString())
.execute(new HttpCallback() {
@ -1045,13 +1045,13 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX
seed_msg.create();
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + pkUid)
.params("jsonstr", seed_msg.mResult.toString())
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + CommonAppConfig.getInstance().getUid())
.params("jsonstr", seed_msg.mResult.toString())
.execute(new HttpCallback() {

View File

@ -201,11 +201,11 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX
SocketSendBean seed_msg = new SocketSendBean().param("_method_", Constants.SOCKET_LINK_MIC_PK).param("action", 9).param("msgtype", 10).param("win_uid", datas.getString("win_uid")).param("uid", CommonAppConfig.getInstance().getUid());
seed_msg.create();
Log.i("seed", seed_msg.mResult.toString());
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
@ -213,10 +213,10 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX
seed_msgs.create();
Log.i("seed", seed_msgs.mResult.toString());
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + LiveSwLinkMicPkPresenter.oldmPkUid).params("jsonstr", seed_msgs.mResult.toString()).execute(new HttpCallback() {
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + LiveSwLinkMicPkPresenter.oldmPkUid).params("jsonstr", seed_msgs.mResult.toString()).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msgs.mResult.toString()).execute(new HttpCallback() {
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msgs.mResult.toString()).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
@ -598,10 +598,10 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX
SocketSendBean seed_msg = new SocketSendBean().param("_method_", Constants.SOCKET_SYSTEM).param("action", 1).param("ct", ct);
seed_msg.create();
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + pkUid).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().post("Tx.sendmsgzs2", "Tx.sendmsgzs2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
HttpClient.getInstance().post("fasongxiaoxiv2", "fasongxiaoxiv2").params("GroupId", "g" + CommonAppConfig.getInstance().getUid()).params("jsonstr", seed_msg.mResult.toString()).execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {

View File

@ -143,14 +143,14 @@ public class LivePushTxViewHolder extends AbsLivePushViewHolder implements ITXLi
params.topMargin = 0;
LivePushTxViewHolder.mPreView.setLayoutParams(params);
}
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + pkUid)
.params("jsonstr", seed_msg.mResult.toString())
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + CommonAppConfig.getInstance().getUid())
.params("jsonstr", seed_msg.mResult.toString())
.execute(new HttpCallback() {
@ -168,13 +168,13 @@ public class LivePushTxViewHolder extends AbsLivePushViewHolder implements ITXLi
seed_msgs.create();
Log.i("seed", seed_msgs.mResult.toString());
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + LiveLinkMicPkPresenter.oldmPkUid)
.params("jsonstr", seed_msgs.mResult.toString())
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
HttpClient.getInstance().get("Tx.sendmsgzs2", "Tx.sendmsgzs2")
HttpClient.getInstance().get("fasongxiaoxiv2", "fasongxiaoxiv2")
.params("GroupId", "g" + CommonAppConfig.getInstance().getUid())
.params("jsonstr", seed_msgs.mResult.toString())
.execute(new HttpCallback() {

View File

@ -160,7 +160,7 @@ public class LiveRyAnchorViewHolder extends AbsLiveViewHolder {
ToastUtil.show("多人PK次数已用完");
} else {
//開始多人PK
HttpClient.getInstance().get("live.startDRPK", "live.startDRPK")
HttpClient.getInstance().get("kaishiduorenpk", "kaishiduorenpk")
.params("roomid", CommonAppConfig.getInstance().getUid())
.execute(new HttpCallback() {
@Override
@ -182,7 +182,7 @@ public class LiveRyAnchorViewHolder extends AbsLiveViewHolder {
btn_end_pk.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
HttpClient.getInstance().get("live.endDRpk", "live.endDRpk")
HttpClient.getInstance().get("jieshuduorenpkv2", "jieshuduorenpkv2")
.params("roomid", CommonAppConfig.getInstance().getUid())
.execute(new HttpCallback() {
@Override

View File

@ -1201,7 +1201,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
if (isSw) {
if (mLivePlayViewHolder != null) {
mLivePlayViewHolder.endLiveMic();
HttpClient.getInstance().get("live.leaveDrLm", "live.leaveDrLm")
HttpClient.getInstance().get("tuichuduorenlianmai", "tuichuduorenlianmai")
.params("roomid", liveID)
.execute(new HttpCallback() {
@Override
@ -1238,7 +1238,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
Log.e("ry", "下麦成功");
// 该用户切换为观众成功可以以观众身份进行音视频
//退出多人房间
HttpClient.getInstance().get("live.leaveDrLm", "live.leaveDrLm")
HttpClient.getInstance().get("tuichuduorenlianmai", "tuichuduorenlianmai")
.params("roomid", liveID)
.execute(new HttpCallback() {
@Override

View File

@ -89,7 +89,7 @@ public class OneLoginDialog extends AbsDialogFragment {
btn_enter.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
HttpClient.getInstance().get("User.userBindAgentAdmin", "User.userBindAgentAdmin")
HttpClient.getInstance().get("yonghubangdingdaili", "yonghubangdingdaili")
.params("invitation_code", bundle.getString("code"))
.params("user_nicename", bundle.getString("name"))
.execute(new HttpCallback() {

View File

@ -93,7 +93,7 @@ public class MainHttpUtil {
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) {
appSource = "2";
}
HttpClient.getInstance().get("Login.userLoginByThird", MainHttpConsts.LOGIN_BY_THIRD)
HttpClient.getInstance().get("disanfangdenglu", MainHttpConsts.LOGIN_BY_THIRD)
.params("openid", openid)
.params("app_source", appSource)
.params("admin_id", promoCode)
@ -115,7 +115,7 @@ public class MainHttpUtil {
*/
public static void requestBonus(HttpCallback callback) {
String appVer = AppUtils.getAppVersionName();
HttpClient.getInstance().get("User.bonus", MainHttpConsts.REQUEST_BONUS)
HttpClient.getInstance().get("yonghudenglujiangli", MainHttpConsts.REQUEST_BONUS)
.params("appAndroidVersion", appVer)
.execute(callback);
}
@ -124,7 +124,7 @@ public class MainHttpUtil {
* 新版本签到奖励
*/
public static void requestNewBonus(HttpCallback callback) {
HttpClient.getInstance().get("Sign.userSign", MainHttpConsts.REQUEST_BONUS)
HttpClient.getInstance().get("huiyuanqiandao", MainHttpConsts.REQUEST_BONUS)
.params("uuid_Device", DeviceUtils.getUniqueDeviceId())
.params("lastlogindevice", "Android")
.params("model", android.os.Build.BRAND + android.os.Build.MODEL)
@ -135,7 +135,7 @@ public class MainHttpUtil {
* 获取签到奖励
*/
public static void getBonus(HttpCallback callback) {
HttpClient.getInstance().get("User.getBonus", MainHttpConsts.GET_BONUS)
HttpClient.getInstance().get("lingquyonghudenglujiangli", MainHttpConsts.GET_BONUS)
.execute(callback);
}
@ -143,7 +143,7 @@ public class MainHttpUtil {
* 用于用户首次登录设置分销关系
*/
public static void setDistribut(String code, HttpCallback callback) {
HttpClient.getInstance().get("User.setDistribut", MainHttpConsts.SET_DISTRIBUT)
HttpClient.getInstance().get("shezhifenxiaoshangji", MainHttpConsts.SET_DISTRIBUT)
.params("code", code)
.execute(callback);
}
@ -169,7 +169,7 @@ public class MainHttpUtil {
* 首页关注直播
*/
public static void getHomeFollow(int p, HttpCallback callback) {
HttpClient.getInstance().get("Home.getFollow", MainHttpConsts.GET_HOME_FOLLOW)
HttpClient.getInstance().get("huoquguanzhuzhuboliebiao", MainHttpConsts.GET_HOME_FOLLOW)
.params("p", p)
.execute(callback);
}
@ -186,7 +186,7 @@ public class MainHttpUtil {
* 首页
*/
public static void getFollow(int p, HttpCallback callback) {
HttpClient.getInstance().get("Home.getFollow", MainHttpConsts.GET_FOLLOW)
HttpClient.getInstance().get("huoquguanzhuzhuboliebiao", MainHttpConsts.GET_FOLLOW)
.params("p", p)
.execute(callback);
}
@ -195,7 +195,7 @@ public class MainHttpUtil {
* 首页 附近
*/
public static void getNear(int p, HttpCallback callback) {
HttpClient.getInstance().get("Home.getNearby", MainHttpConsts.GET_NEAR)
HttpClient.getInstance().get("huoqufujinzhubo", MainHttpConsts.GET_NEAR)
.params("lng", CommonAppConfig.getInstance().getLng())
.params("lat", CommonAppConfig.getInstance().getLat())
.params("p", p)
@ -262,7 +262,7 @@ public class MainHttpUtil {
* 获取用户信息
*/
public static void getBaseInfo(String uid, String token, final CommonCallback<UserBean> commonCallback) {
HttpClient.getInstance().get("User.getBaseInfos", MainHttpConsts.GET_BASE_INFO)
HttpClient.getInstance().get("huoquyonghujibenxinxiv2", MainHttpConsts.GET_BASE_INFO)
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {
@ -297,7 +297,7 @@ public class MainHttpUtil {
}
public static void getBaseInfos(String uid, String token, HttpCallback callback) {
HttpClient.getInstance().get("User.getBaseInfos", MainHttpConsts.GET_BASE_INFO)
HttpClient.getInstance().get("huoquyonghujibenxinxiv2", MainHttpConsts.GET_BASE_INFO)
.execute(callback);
}
@ -314,7 +314,7 @@ public class MainHttpUtil {
* 获取用户钱
*/
public static void getBalance(HttpCallback callback) {
HttpClient.getInstance().get("User.getUserBalance", "User.getUserBalance")
HttpClient.getInstance().get("huoquyonghuyue", "huoquyonghuyue")
.execute(callback);
}
@ -330,7 +330,7 @@ public class MainHttpUtil {
* 拉黑对方 解除拉黑
*/
public static void setBlack(String toUid, HttpCallback callback) {
HttpClient.getInstance().get("User.setBlack", MainHttpConsts.SET_BLACK)
HttpClient.getInstance().get("shezhilaheizhuangtai", MainHttpConsts.SET_BLACK)
.params("touid", toUid)
.execute(callback);
}
@ -339,7 +339,7 @@ public class MainHttpUtil {
* 获取个性设置列表
*/
public static void getSettingList(HttpCallback callback) {
HttpClient.getInstance().get("User.getPerSetting", MainHttpConsts.GET_SETTING_LIST)
HttpClient.getInstance().get("huoqugexingshezhiliebiao", MainHttpConsts.GET_SETTING_LIST)
.params("version", VersionUtil.getVersion())
.execute(callback);
}
@ -371,7 +371,7 @@ public class MainHttpUtil {
* 获取我的拉黑列表
*/
public static void getBlackList(int p, HttpCallback callback) {
HttpClient.getInstance().get("User.getBlackList", "User.getBlackList")
HttpClient.getInstance().get("huoquheimingdanliebiao", "huoquheimingdanliebiao")
.params("p", p)
.execute(callback);
}
@ -382,7 +382,7 @@ public class MainHttpUtil {
* @param touid 对方的uid
*/
public static void getFollowList(String touid, int p, HttpCallback callback) {
HttpClient.getInstance().get("User.getFollowsList", MainHttpConsts.GET_FOLLOW_LIST)
HttpClient.getInstance().get("huoquguanzhuliebiao", MainHttpConsts.GET_FOLLOW_LIST)
.params("touid", touid)
.params("p", p)
.execute(callback);
@ -394,7 +394,7 @@ public class MainHttpUtil {
* @param touid 对方的uid
*/
public static void getFansList(String touid, int p, HttpCallback callback) {
HttpClient.getInstance().get("User.getFansList", MainHttpConsts.GET_FANS_LIST)
HttpClient.getInstance().get("huoqufensiliebiao", MainHttpConsts.GET_FANS_LIST)
.params("touid", touid)
.params("p", p)
.execute(callback);
@ -405,7 +405,7 @@ public class MainHttpUtil {
* 上传头像用post
*/
public static void updateAvatar(File file, HttpCallback callback) {
HttpClient.getInstance().post("User.updateAvatar", MainHttpConsts.UPDATE_AVATAR)
HttpClient.getInstance().post("shangchuantouxiang", MainHttpConsts.UPDATE_AVATAR)
.isMultipart(true)
.params("file", file)
.execute(callback);
@ -417,7 +417,7 @@ public class MainHttpUtil {
* @param fields 用户资料 ,以json形式出现
*/
public static void updateFields(String fields, HttpCallback callback) {
HttpClient.getInstance().get("User.updateFields", MainHttpConsts.UPDATE_FIELDS)
HttpClient.getInstance().get("xiugaiyonghuxinxi", MainHttpConsts.UPDATE_FIELDS)
.params("fields", fields)
.execute(callback);
}
@ -427,7 +427,7 @@ public class MainHttpUtil {
* 获取 我的收益 可提现金额数
*/
public static void getProfit(HttpCallback callback) {
HttpClient.getInstance().get("User.getProfit", MainHttpConsts.GET_PROFIT)
HttpClient.getInstance().get("huoquwodeshouyi", MainHttpConsts.GET_PROFIT)
.execute(callback);
}
@ -435,7 +435,7 @@ public class MainHttpUtil {
* 获取 提现账户列表
*/
public static void getCashAccountList(HttpCallback callback) {
HttpClient.getInstance().get("User.getUserAccountList", MainHttpConsts.GET_USER_ACCOUNT_LIST)
HttpClient.getInstance().get("huoquyonghutixianzhanghao", MainHttpConsts.GET_USER_ACCOUNT_LIST)
.execute(callback);
}
@ -444,7 +444,7 @@ public class MainHttpUtil {
* 添加 提现账户
*/
public static void addCashAccount(String account, String name, String bank, int type, HttpCallback callback) {
HttpClient.getInstance().get("User.setUserAccount", MainHttpConsts.ADD_CASH_ACCOUNT)
HttpClient.getInstance().get("shezhiyonghutixianzhanghao", MainHttpConsts.ADD_CASH_ACCOUNT)
.params("account", account)
.params("name", name)
.params("account_bank", bank)
@ -456,7 +456,7 @@ public class MainHttpUtil {
* 删除 提现账户
*/
public static void deleteCashAccount(String accountId, HttpCallback callback) {
HttpClient.getInstance().get("User.delUserAccount", MainHttpConsts.DEL_CASH_ACCOUNT)
HttpClient.getInstance().get("shanchuyonghutixianzhanghao", MainHttpConsts.DEL_CASH_ACCOUNT)
.params("id", accountId)
.execute(callback);
}
@ -465,7 +465,7 @@ public class MainHttpUtil {
* 提现
*/
public static void doCash(String votes, String accountId, HttpCallback callback) {
HttpClient.getInstance().get("User.setCash", MainHttpConsts.DO_CASH)
HttpClient.getInstance().get("yonghutixian", MainHttpConsts.DO_CASH)
.params("cashvote", votes)//提现的票数
.params("accountid", accountId)//账号ID
.execute(callback);
@ -476,7 +476,7 @@ public class MainHttpUtil {
* 分类直播
*/
public static void getClassLive(int classId, int p, HttpCallback callback) {
HttpClient.getInstance().get("Home.getClassLive", MainHttpConsts.GET_CLASS_LIVE)
HttpClient.getInstance().get("huoqufenleizhibo", MainHttpConsts.GET_CLASS_LIVE)
.params("liveclassid", classId)
.params("p", p)
.execute(callback);
@ -486,7 +486,7 @@ public class MainHttpUtil {
* 获取自己收到的主播印象列表
*/
public static void getMyImpress(HttpCallback callback) {
HttpClient.getInstance().get("User.getMyLabel", MainHttpConsts.GET_MY_IMPRESS)
HttpClient.getInstance().get("huoquyingxiangbiaoqian", MainHttpConsts.GET_MY_IMPRESS)
.execute(callback);
}
@ -494,7 +494,7 @@ public class MainHttpUtil {
* 用于用户首次登录推荐
*/
public static void getRecommend(HttpCallback callback) {
HttpClient.getInstance().get("Home.getRecommend", MainHttpConsts.GET_RECOMMEND)
HttpClient.getInstance().get("huoqutuijian", MainHttpConsts.GET_RECOMMEND)
.execute(callback);
}
@ -503,7 +503,7 @@ public class MainHttpUtil {
* 用于用户首次登录推荐,关注主播
*/
public static void recommendFollow(String touid, HttpCallback callback) {
HttpClient.getInstance().get("Home.attentRecommend", MainHttpConsts.RECOMMEND_FOLLOW)
HttpClient.getInstance().get("guanzhutuijianzhubo", MainHttpConsts.RECOMMEND_FOLLOW)
.params("touid", touid)
.execute(callback);
}
@ -548,7 +548,7 @@ public class MainHttpUtil {
* 第三方绑定手机号
*/
public static void bindPhone(String mobile, int countryCode, String uid, String token, String user_pass, String user_pass2, String code, HttpCallback callback) {
HttpClient.getInstance().get("Login.bindMobile", MainHttpConsts.BINDMOBILE)
HttpClient.getInstance().get("bangdingshoujihao", MainHttpConsts.BINDMOBILE)
.params("mobile", mobile)
.params("country_code", countryCode + "")
.params("uid", uid, true)
@ -595,7 +595,7 @@ public class MainHttpUtil {
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) {
appSource = "2";
}
HttpClient.getInstance().get("Login.userReg", MainHttpConsts.REGISTER)
HttpClient.getInstance().get("huiyuanzhuce", MainHttpConsts.REGISTER)
.params("user_login", user_login)
.params("app_source", appSource)
//增加参数推广码
@ -619,7 +619,7 @@ public class MainHttpUtil {
* 找回密码
*/
public static void findPwd(String user_login, String pass, String pass2, String code, HttpCallback callback) {
HttpClient.getInstance().get("Login.userFindPass", MainHttpConsts.FIND_PWD)
HttpClient.getInstance().get("yonghuzhaohuimima", MainHttpConsts.FIND_PWD)
.params("user_login", user_login)
.params("user_pass", pass)
.params("user_pass2", pass2)
@ -632,7 +632,7 @@ public class MainHttpUtil {
* 重置密码
*/
public static void modifyPwd(String oldpass, String pass, String pass2, HttpCallback callback) {
HttpClient.getInstance().get("User.updatePass", MainHttpConsts.MODIFY_PWD)
HttpClient.getInstance().get("xiugaimima", MainHttpConsts.MODIFY_PWD)
.params("oldpass", oldpass)
.params("pass", pass)
.params("pass2", pass2)
@ -709,7 +709,7 @@ public class MainHttpUtil {
* 是否是主播
*/
public static void isAnchor(HttpCallback callback) {
HttpClient.getInstance().get("User.isAnchor", MainHttpConsts.ISANCHOR)
HttpClient.getInstance().get("shifouweizhubozhanghao", MainHttpConsts.ISANCHOR)
.execute(callback);
}
@ -717,7 +717,7 @@ public class MainHttpUtil {
* 是否是完成任务
*/
public static void getUserFrontTaskType(HttpCallback callback) {
HttpClient.getInstance().get("Task.getUserFrontTaskType", MainHttpConsts.GET_USER_FRONTTASKTYPE)
HttpClient.getInstance().get("huoquqianzhirenwushifouwancheng", MainHttpConsts.GET_USER_FRONTTASKTYPE)
.execute(callback);
}
@ -733,7 +733,7 @@ public class MainHttpUtil {
* 获取im备注信息
*/
public static void getInstructorRemark(HttpCallback callback) {
HttpClient.getInstance().get("User.getInstructorRemark", MainHttpConsts.GETINSTRUCTORREMARK)
HttpClient.getInstance().get("huoqutuiguangbeizhumingliebiao", MainHttpConsts.GETINSTRUCTORREMARK)
.execute(callback);
}
@ -741,13 +741,13 @@ public class MainHttpUtil {
* 是否管理员
*/
public static void isInstructor(HttpCallback callback) {
HttpClient.getInstance().get("User.isInstructor", MainHttpConsts.ISINSTRUCTOR)
HttpClient.getInstance().get("shifouweituiguangzhanghao", MainHttpConsts.ISINSTRUCTOR)
.execute(callback);
}
//
public static void setMessageReadAll() {
HttpClient.getInstance().get("User.getUserInstructor", "")
HttpClient.getInstance().get("huoquyonghuzhidaoyuan", "")
.execute(new HttpCallback() {
@Override
public void onSuccess(int code, String msg, String[] info) {

View File

@ -74,7 +74,7 @@ public class HonorViewHolder extends AbsUserHomeViewHolder {
/**
* 获取用户荣誉和座骑
*/
HttpClient.getInstance().get("User.medalCarList", LiveHttpConsts.GET_USER_LIST)
HttpClient.getInstance().get("xunzhangzuoqiliebiao", LiveHttpConsts.GET_USER_LIST)
.params("uid", mToUid,true)
.execute(new HttpCallback() {
@Override

View File

@ -29,7 +29,7 @@ public class VideoHttpUtil {
* 获取首页视频列表
*/
public static void getHomeVideoList(int p, HttpCallback callback) {
HttpClient.getInstance().get("Video.getVideoList", VideoHttpConsts.GET_HOME_VIDEO_LIST)
HttpClient.getInstance().get("zhhuoqurenmenshipin", VideoHttpConsts.GET_HOME_VIDEO_LIST)
.params("p", p)
.execute(callback);
}
@ -39,7 +39,7 @@ public class VideoHttpUtil {
* 视频点赞
*/
public static void setVideoLike(String tag, String videoid, HttpCallback callback) {
HttpClient.getInstance().get("Video.addLike", tag)
HttpClient.getInstance().get("zhshipindianzan", tag)
.params("videoid", videoid)
.execute(callback);
}
@ -48,7 +48,7 @@ public class VideoHttpUtil {
* 获取视频评论
*/
public static void getVideoCommentList(String videoid, int p, HttpCallback callback) {
HttpClient.getInstance().get("Video.getComments", VideoHttpConsts.GET_VIDEO_COMMENT_LIST)
HttpClient.getInstance().get("zhshipinpinglunliebiao", VideoHttpConsts.GET_VIDEO_COMMENT_LIST)
.params("videoid", videoid)
.params("p", p)
.execute(callback);
@ -58,7 +58,7 @@ public class VideoHttpUtil {
* 评论点赞
*/
public static void setCommentLike(String commentid, HttpCallback callback) {
HttpClient.getInstance().get("Video.addCommentLike", VideoHttpConsts.SET_COMMENT_LIKE)
HttpClient.getInstance().get("zhpinglundianzan", VideoHttpConsts.SET_COMMENT_LIKE)
.params("commentid", commentid)
.execute(callback);
}
@ -67,7 +67,7 @@ public class VideoHttpUtil {
* 发表评论
*/
public static void setComment(String toUid, String videoId, String content, String commentId, String parentId, HttpCallback callback) {
HttpClient.getInstance().get("Video.setComment", VideoHttpConsts.SET_COMMENT)
HttpClient.getInstance().get("zhfabupinglun", VideoHttpConsts.SET_COMMENT)
.params("touid", toUid)
.params("videoid", videoId)
.params("commentid", commentId)
@ -82,7 +82,7 @@ public class VideoHttpUtil {
* 获取评论回复
*/
public static void getCommentReply(String commentid, int p, HttpCallback callback) {
HttpClient.getInstance().get("Video.getReplys", VideoHttpConsts.GET_COMMENT_REPLY)
HttpClient.getInstance().get("zhpinglunhuifuliebiao", VideoHttpConsts.GET_COMMENT_REPLY)
.params("commentid", commentid)
.params("p", p)
.execute(callback);
@ -149,7 +149,7 @@ public class VideoHttpUtil {
* 上传视频获取七牛云token的接口
*/
public static void getQiNiuToken(HttpCallback callback) {
HttpClient.getInstance().get("Video.getQiniuToken", VideoHttpConsts.GET_QI_NIU_TOKEN)
HttpClient.getInstance().get("zhhuoquqiniushangchuanlingpai", VideoHttpConsts.GET_QI_NIU_TOKEN)
.execute(callback);
}
@ -163,7 +163,7 @@ public class VideoHttpUtil {
* @param musicId 背景音乐Id
*/
public static void saveUploadVideoInfo(String title, String thumb, String href, int musicId, boolean openLocation, HttpCallback callback) {
HttpClient.getInstance().get("Video.setVideo", VideoHttpConsts.SAVE_UPLOAD_VIDEO_INFO)
HttpClient.getInstance().get("zhfabuduanshipin", VideoHttpConsts.SAVE_UPLOAD_VIDEO_INFO)
.params("lat", openLocation ? String.valueOf(CommonAppConfig.getInstance().getLat()) : "")
.params("lng", openLocation ? String.valueOf(CommonAppConfig.getInstance().getLng()) : "")
.params("city", openLocation ? CommonAppConfig.getInstance().getCity() : "")
@ -186,7 +186,7 @@ public class VideoHttpUtil {
* 获取某人发布的视频
*/
public static void getHomeVideo(String toUid, int p, HttpCallback callback) {
HttpClient.getInstance().get("Video.getHomeVideo", VideoHttpConsts.GET_HOME_VIDEO)
HttpClient.getInstance().get("zhgerenzhuyeshipin", VideoHttpConsts.GET_HOME_VIDEO)
.params("touid", toUid)
.params("p", p)
.execute(callback);
@ -197,7 +197,7 @@ public class VideoHttpUtil {
* 获取举报内容列表
*/
public static void getVideoReportList(HttpCallback callback) {
HttpClient.getInstance().get("Video.getReportContentlist", VideoHttpConsts.GET_VIDEO_REPORT_LIST)
HttpClient.getInstance().get("zhhuoqushipinjubaofenlei", VideoHttpConsts.GET_VIDEO_REPORT_LIST)
.execute(callback);
}
@ -205,7 +205,7 @@ public class VideoHttpUtil {
* 举报视频接口
*/
public static void videoReport(String videoId, String reportId, String content, HttpCallback callback) {
HttpClient.getInstance().get("Video.report", VideoHttpConsts.VIDEO_REPORT)
HttpClient.getInstance().get("zhjubaoshipin", VideoHttpConsts.VIDEO_REPORT)
.params("videoid", videoId)
.params("type", reportId)
.params("content", content)
@ -216,7 +216,7 @@ public class VideoHttpUtil {
* 删除自己的视频
*/
public static void videoDelete(String videoid, HttpCallback callback) {
HttpClient.getInstance().get("Video.del", VideoHttpConsts.VIDEO_DELETE)
HttpClient.getInstance().get("zhshanchushipin", VideoHttpConsts.VIDEO_DELETE)
.params("videoid", videoid)
.execute(callback);
}
@ -227,7 +227,7 @@ public class VideoHttpUtil {
public static void setVideoShare(String videoid, HttpCallback callback) {
String uid = CommonAppConfig.getInstance().getUid();
String s = MD5Util.getMD5(uid + "-" + videoid + "-" + VIDEO_SALT);
HttpClient.getInstance().get("Video.addShare", VideoHttpConsts.SET_VIDEO_SHARE)
HttpClient.getInstance().get("zhshipinfenxiang", VideoHttpConsts.SET_VIDEO_SHARE)
.params("uid", uid,true)
.params("videoid", videoid)
.params("random_str", s)
@ -245,7 +245,7 @@ public class VideoHttpUtil {
}
VideoHttpUtil.cancel(VideoHttpConsts.VIDEO_WATCH_START);
String s = MD5Util.getMD5(uid + "-" + videoId + "-" + VIDEO_SALT);
HttpClient.getInstance().get("Video.addView", VideoHttpConsts.VIDEO_WATCH_START)
HttpClient.getInstance().get("zhshipinyuedushuleiji", VideoHttpConsts.VIDEO_WATCH_START)
.params("uid", uid,true)
.params("videoid", videoId)
.params("random_str", s)
@ -262,7 +262,7 @@ public class VideoHttpUtil {
}
VideoHttpUtil.cancel(VideoHttpConsts.VIDEO_WATCH_END);
String s = MD5Util.getMD5(uid + "-" + videoId + "-" + VIDEO_SALT);
HttpClient.getInstance().get("Video.setConversion", VideoHttpConsts.VIDEO_WATCH_END)
HttpClient.getInstance().get("zhgengxinshipinkanwancishu", VideoHttpConsts.VIDEO_WATCH_END)
.params("uid", uid,true)
.params("videoid", videoId)
.params("random_str", s)