diff --git a/common/src/main/java/com/yunbao/common/http/CommonHttpConsts.java b/common/src/main/java/com/yunbao/common/http/CommonHttpConsts.java index 396a8f719..944c2da1e 100644 --- a/common/src/main/java/com/yunbao/common/http/CommonHttpConsts.java +++ b/common/src/main/java/com/yunbao/common/http/CommonHttpConsts.java @@ -20,8 +20,8 @@ public class CommonHttpConsts { public static final String DOWNLOAD_GIF = "downloadGif"; public static final String GET_BALANCE = "getBalance"; public static final String CHECK_TOKEN_INVALID = "checkTokenInvalid"; - public static final String NOTIFY_GOOGLE = "Charge.google_pay"; - public static final String COMMUNITY_SETREPORT = "Community.setReport"; + public static final String NOTIFY_GOOGLE = "gugezhifuhuidiao"; + public static final String COMMUNITY_SETREPORT = "yonghushequdongtaijubao"; public static final String GET_USER_HOME = "getUserHome"; public static final String GET_USER_BASEINFO = "getUserBaseinfo"; diff --git a/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java b/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java index b03530634..a7f7bc24d 100644 --- a/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java +++ b/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java @@ -175,7 +175,7 @@ public class CommonHttpUtil { } Log.i("来了", lang); //或者仅仅使用 locale = Locale.getDefault(); 不需要考虑接口 deprecated(弃用)问题 - HttpClient.getInstance().get("Home.getConfig", CommonHttpConsts.GET_CONFIG).params("langue", lang).params("version", "" + VersionUtil.getVersion()).params("from", "android").params("appType", "1").execute(new HttpCallback() { + HttpClient.getInstance().get("huoquzhuyepeizhixinxi", CommonHttpConsts.GET_CONFIG).params("langue", lang).params("version", "" + VersionUtil.getVersion()).params("from", "android").params("appType", "1").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0 && info.length > 0) { @@ -405,11 +405,11 @@ public class CommonHttpUtil { } public static void Google_sec_pay(String purchaseToken, String orderNo, String tradeNo, HttpCallback callback) { - HttpClient.getInstance().get("Charge.Google_sec_pay", "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", "Charge.Google_sec_pay").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) { - HttpClient.getInstance().get("Charge.SamsungNotify", "Charge.SamsungNotify") + HttpClient.getInstance().get("sanxingzhifuhuidiao", "sanxingzhifuhuidiao") .params("purchaseID", purchaseId) .params("SelfOrderId", selfOrderId) .params("PackageName", "pd") diff --git a/common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java b/common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java index 9a37aac84..eaeafc6d1 100644 --- a/common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java +++ b/common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java @@ -35,7 +35,7 @@ public class LiveHttpUtil { * 获取当前直播间的用户列表 */ public static void getUserList(String liveuid, String stream, String type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Live.getUserLists", LiveHttpConsts.GET_USER_LIST) + HttpClient.getInstance().get("zhibojianyonghuliebiao", LiveHttpConsts.GET_USER_LIST) .params("liveuid", liveuid) .params("stream", stream) .params("type", type) @@ -51,7 +51,7 @@ public class LiveHttpUtil { * @param callback 回调 */ public static void getUserRankList(String liveUid, HttpCallback callback) { - HttpClient.getInstance().get("Contribute.index", LiveHttpConsts.GET_USER_LIST) + HttpClient.getInstance().get("xiaofeitongji", LiveHttpConsts.GET_USER_LIST) .params("uid", liveUid) .execute(callback); } @@ -60,7 +60,7 @@ public class LiveHttpUtil { * 获取当前直播间的连麦用户列表 */ public static void getMicList(String liveuid, int p, HttpCallback callback) { - HttpClient.getInstance().get("Live.getDrLm", "Live.getDrLm") + HttpClient.getInstance().get("huoqulianmaizhuangtai", "huoqulianmaizhuangtai") .params("uid", liveuid, true) .execute(callback); } @@ -105,7 +105,7 @@ public class LiveHttpUtil { * 获取用户余额 */ public static void getCoin(HttpCallback callback) { - HttpClient.getInstance().get("Live.getCoin", LiveHttpConsts.GET_COIN) + HttpClient.getInstance().get("zhibojianhuoquyonghuyue", LiveHttpConsts.GET_COIN) .execute(callback); } @@ -157,7 +157,7 @@ public class LiveHttpUtil { * 获取当前直播间的管理员列表 */ public static void getAdminList(String liveUid, HttpCallback callback) { - HttpClient.getInstance().get("Live.getAdminList", LiveHttpConsts.GET_ADMIN_LIST) + HttpClient.getInstance().get("huoquguanliyuanliebiao", LiveHttpConsts.GET_ADMIN_LIST) .params("liveuid", liveUid) .execute(callback); } @@ -176,7 +176,7 @@ public class LiveHttpUtil { * 获取直播间的禁言列表 */ public static void getLiveShutUpList(String liveUid, int p, HttpCallback callback) { - HttpClient.getInstance().get("Livemanage.getShutList", LiveHttpConsts.GET_LIVE_SHUT_UP_LIST) + HttpClient.getInstance().get("jinyanyonghu", LiveHttpConsts.GET_LIVE_SHUT_UP_LIST) .params("liveuid", liveUid) .params("p", p) .execute(callback); @@ -196,7 +196,7 @@ public class LiveHttpUtil { * 获取直播间的拉黑列表 */ public static void getLiveBlackList(String liveUid, int p, HttpCallback callback) { - HttpClient.getInstance().get("Livemanage.getKickList", LiveHttpConsts.GET_LIVE_BLACK_LIST) + HttpClient.getInstance().get("tichuyonghu", LiveHttpConsts.GET_LIVE_BLACK_LIST) .params("liveuid", liveUid) .params("p", p) .execute(callback); @@ -217,7 +217,7 @@ public class LiveHttpUtil { * 直播结束后,获取直播收益,观看人数,时长等信息 */ public static void getLiveEndInfo(String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.stopInfo", LiveHttpConsts.GET_LIVE_END_INFO) + HttpClient.getInstance().get("zhibojieshuxinxi", LiveHttpConsts.GET_LIVE_END_INFO) .params("stream", stream) .execute(callback); } @@ -226,7 +226,7 @@ public class LiveHttpUtil { * 获取直播间举报内容列表 */ public static void getLiveReportList(HttpCallback callback) { - HttpClient.getInstance().get("Live.getReportClass", LiveHttpConsts.GET_LIVE_REPORT_LIST) + HttpClient.getInstance().get("huoqujubaopeizhixinxi", LiveHttpConsts.GET_LIVE_REPORT_LIST) .execute(callback); } @@ -234,7 +234,7 @@ public class LiveHttpUtil { * 举报用户 */ public static void setReport(String touid, String content, HttpCallback callback) { - HttpClient.getInstance().get("Live.setReport", LiveHttpConsts.SET_REPORT) + HttpClient.getInstance().get("yonghujubao", LiveHttpConsts.SET_REPORT) .params("touid", touid) .params("content", content) .execute(callback); @@ -244,7 +244,7 @@ public class LiveHttpUtil { * 举报用户 + 图片 */ public static void setReport(String touid,String report_argument, String content, File file1, File file2, File file3, String videoId, HttpCallback callback) { - PostRequest request = HttpClient.getInstance().post("Live.setReport", LiveHttpConsts.SET_REPORT) + PostRequest request = HttpClient.getInstance().post("yonghujubao", LiveHttpConsts.SET_REPORT) .isMultipart(true) .params("touid", touid) .params("report_argument", report_argument) @@ -268,7 +268,7 @@ public class LiveHttpUtil { * 直播间点击聊天列表和头像出现的弹窗 */ public static void getLiveUser(String touid, String liveUid, HttpCallback callback) { - HttpClient.getInstance().get("Live.getPop", LiveHttpConsts.GET_LIVE_USER) + HttpClient.getInstance().get("zhibojiantanchuangxinxi", LiveHttpConsts.GET_LIVE_USER) .params("touid", touid) .params("liveuid", liveUid) .execute(callback); @@ -294,7 +294,7 @@ public class LiveHttpUtil { * @param time 禁言时间 (分) */ public static void setShutUp(String liveUid, String stream, int type, String touid, String time, HttpCallback callback) { - GetRequest request = HttpClient.getInstance().get("Live.setShutUp", LiveHttpConsts.SET_SHUT_UP) + GetRequest request = HttpClient.getInstance().get("zhibojianjinyan", LiveHttpConsts.SET_SHUT_UP) .params("liveuid", liveUid) .params("stream", stream) .params("type", type) @@ -323,7 +323,7 @@ public class LiveHttpUtil { * 守护商品类型列表 */ public static void getGuardBuyList(HttpCallback callback) { - HttpClient.getInstance().get("Guard.getList", LiveHttpConsts.GET_GUARD_BUY_LIST) + HttpClient.getInstance().get("shouhuliebiaov2", LiveHttpConsts.GET_GUARD_BUY_LIST) .execute(callback); } @@ -331,7 +331,7 @@ public class LiveHttpUtil { * 购买守护接口 */ public static void buyGuard(String liveUid, String stream, int guardId, int cid, HttpCallback callback) { - GetRequest request = HttpClient.getInstance().get("Guard.buyGuard", LiveHttpConsts.BUY_GUARD) + GetRequest request = HttpClient.getInstance().get("goumaishouhu", LiveHttpConsts.BUY_GUARD) .params("liveuid", liveUid) .params("stream", stream) .params("guardid", guardId); @@ -353,7 +353,7 @@ public class LiveHttpUtil { .execute(callback); } public static void getContactMsg(int page, HttpCallback callback) { - HttpClient.getInstance().get("Live.getContactMsg", "getContactMsg") + HttpClient.getInstance().get("huoqulianxifangshixiaoxi", "getContactMsg") .params("p", page) .execute(callback); } @@ -408,7 +408,7 @@ public class LiveHttpUtil { * 连麦pk检查对方主播在线状态 */ public static void livePkCheckLive(String liveUid, String stream, String uidStream, HttpCallback callback) { - HttpClient.getInstance().get("Home.getisPk", "Home.getisPk") + HttpClient.getInstance().get("huoqupkzhuangtai", "huoqupkzhuangtai") .params("uid", liveUid, true) // .params("token", CommonAppConfig.getInstance().getToken()) // .params("liveuid", liveUid) @@ -473,7 +473,7 @@ public class LiveHttpUtil { * 发送弹幕 */ public static void sendDanmu(String content, String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.sendBarrage", LiveHttpConsts.SEND_DANMU) + HttpClient.getInstance().get("fasongdanmu", LiveHttpConsts.SEND_DANMU) .params("liveuid", liveUid) .params("stream", stream) .params("giftid", "1") @@ -489,7 +489,7 @@ public class LiveHttpUtil { * @param stream 主播的stream */ public static void checkLive(String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.checkLive", LiveHttpConsts.CHECK_LIVE) + HttpClient.getInstance().get("jianchazhibo", LiveHttpConsts.CHECK_LIVE) .params("liveuid", liveUid) .params("stream", stream) .execute(callback); @@ -500,7 +500,7 @@ public class LiveHttpUtil { * 观众进入直播间 */ public static void enterRoom(String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.enterRoom", LiveHttpConsts.ENTER_ROOM) + HttpClient.getInstance().get("jinruzhibojian", LiveHttpConsts.ENTER_ROOM) .params("city", CommonAppConfig.getInstance().getCity()) .params("liveuid", liveUid) .params("stream", stream) @@ -539,14 +539,14 @@ public class LiveHttpUtil { * 获取礼物列表,同时会返回剩余的钱(新版) */ public static void getNewGiftList(HttpCallback callback) { - HttpClient.getInstance().get("Live.getGiftListApp", LiveHttpConsts.GET_GIFT_LIST) + HttpClient.getInstance().get("zhibojianliwuxinxi", LiveHttpConsts.GET_GIFT_LIST) .execute(callback); } /** * 获取礼物列表,同时会返回剩余的钱(新版) -用于获取联系方式时的礼物设置 */ public static void getHotGiftList(HttpCallback callback) { - HttpClient.getInstance().get("Gift.getHotGiftList", LiveHttpConsts.GET_GIFT_LIST) + HttpClient.getInstance().get("huoqusuoyouremenliwu", LiveHttpConsts.GET_GIFT_LIST) .execute(callback); } @@ -562,7 +562,7 @@ public class LiveHttpUtil { * 主播获取心愿单列表 */ public static void getWishList(HttpCallback callback) { - HttpClient.getInstance().get("Guide.getWishlist", LiveHttpConsts.GET_WISH_LIST) + HttpClient.getInstance().get("huoquxinyuandan", LiveHttpConsts.GET_WISH_LIST) .execute(callback); } @@ -570,7 +570,7 @@ public class LiveHttpUtil { * 用户获取主播的心愿单列表 */ public static void getWishList(String liveId, HttpCallback callback) { - HttpClient.getInstance().get("Guide.getWishlist", LiveHttpConsts.GET_WISH_LIST) + HttpClient.getInstance().get("huoquxinyuandan", LiveHttpConsts.GET_WISH_LIST) .params("uid", liveId, true) .execute(callback); } @@ -620,7 +620,7 @@ public class LiveHttpUtil { * 修改心愿单列表 */ public static void modifyWishList(String list, HttpCallback callback) { - HttpClient.getInstance().get("Guide.setWishlist", LiveHttpConsts.SET_WISH_LIST) + HttpClient.getInstance().get("shezhixinyuandan", LiveHttpConsts.SET_WISH_LIST) .params("list", list) .execute(callback); } @@ -642,7 +642,7 @@ public class LiveHttpUtil { * @param isContactGift 是否为联系方式礼物 */ public static void sendGift(String by, String liveUid, String stream, int giftId, String giftCount, int isContactGift, boolean isFansGroupGift, HttpCallback callback) { - HttpClient.getInstance().get("Live.sendGift", LiveHttpConsts.SEND_GIFT) + HttpClient.getInstance().get("zhibojianzengsongliwu", LiveHttpConsts.SEND_GIFT) .params("liveuid", liveUid) .params("stream", stream) .params("giftid", giftId) @@ -659,7 +659,7 @@ public class LiveHttpUtil { * @param isContactGift 是否为联系方式礼物 */ public static void sendGiftForPage(String by, String liveUid, String stream, int giftId, String giftCount, int isContactGift, boolean isFansGroupGift, HttpCallback callback) { - HttpClient.getInstance().get("Live.sendPackGift", LiveHttpConsts.SEND_GIFT) + HttpClient.getInstance().get("zhibojianzengsongbaoguoliwu", LiveHttpConsts.SEND_GIFT) .params("liveuid", liveUid) .params("stream", stream) .params("giftid", giftId) @@ -676,7 +676,7 @@ public class LiveHttpUtil { * @param isContactGift 是否为联系方式礼物 */ public static void sendGiftForFansGroup(String by, String liveUid, String stream, int giftId, String giftCount, int isContactGift, boolean isFansGroupGift, HttpCallback callback) { - HttpClient.getInstance().get("Live.fansExclusivePack", LiveHttpConsts.SEND_GIFT) + HttpClient.getInstance().get("zengsongfensituanbaoguoliwu", LiveHttpConsts.SEND_GIFT) .params("liveuid", liveUid) .params("stream", stream) .params("giftid", giftId) @@ -688,7 +688,7 @@ public class LiveHttpUtil { .execute(callback); } public static void sendBlindBoxTicket(String by, String liveUid, String stream, int giftId, HttpCallback callback) { - HttpClient.getInstance().get("Live.sendBlindBoxTicket", LiveHttpConsts.SEND_GIFT) + HttpClient.getInstance().get("mangheshiyongquan", LiveHttpConsts.SEND_GIFT) .params("liveuid", liveUid) .params("stream", stream) .params("giftid", giftId) @@ -717,7 +717,7 @@ public class LiveHttpUtil { * 点亮發IM */ public static void sendZAN(String liveUid, HttpCallback callback) { - HttpClient.getInstance().get("Fans.doubleClickLight", "Fans.DoubleClickLight") + HttpClient.getInstance().get("shuangjidianliang", "shuangjidianliang") .params("liveuid", liveUid) .execute(callback); } @@ -774,7 +774,7 @@ public class LiveHttpUtil { */ public static void newcreateRoom(String title, int liveClassId, int type, int typeVal, File file, int clarityType,boolean isSw, HttpCallback callback) { - PostRequest request = HttpClient.getInstance().post("Live.createRoom2", LiveHttpConsts.CREATE_ROOM) + PostRequest request = HttpClient.getInstance().post("chuangjianzhibov2", LiveHttpConsts.CREATE_ROOM) .params("title", title) .params("liveclassid", liveClassId) .params("type", type) @@ -793,7 +793,7 @@ public class LiveHttpUtil { * 修改直播状态 */ public static void changeLive(String stream) { - HttpClient.getInstance().get("Live.changeLive", LiveHttpConsts.CHANGE_LIVE) + HttpClient.getInstance().get("xiugaizhibozhuangtai", LiveHttpConsts.CHANGE_LIVE) .params("stream", stream) .params("status", "1") .execute(new HttpCallback() { @@ -808,7 +808,7 @@ public class LiveHttpUtil { * 主播结束直播 */ public static void stopLive(String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.stopRoom", LiveHttpConsts.STOP_LIVE) + HttpClient.getInstance().get("guanbizhibo", LiveHttpConsts.STOP_LIVE) .params("stream", stream) .execute(callback); } @@ -817,12 +817,12 @@ public class LiveHttpUtil { * 主播开播前获取sdk类型 0金山 1腾讯 */ public static void getLiveSdk(HttpCallback callback) { - HttpClient.getInstance().get("Live.getSDK", LiveHttpConsts.GET_LIVE_SDK) + HttpClient.getInstance().get("huoqusdk", LiveHttpConsts.GET_LIVE_SDK) .execute(callback); } public static void getisRong(HttpCallback callback) { - HttpClient.getInstance().get("Live.isRong", "Live.isRong") + HttpClient.getInstance().get("shifouweirongyunzhubo", "shifouweirongyunzhubo") .execute(callback); } @@ -879,7 +879,7 @@ public class LiveHttpUtil { * 主播checkLive */ public static void anchorCheckLive(String liveUid, String stream, HttpCallback callback) { - HttpClient.getInstance().get("Live.checkLiveing", LiveHttpConsts.ANCHOR_CHECK_LIVE) + HttpClient.getInstance().get("jiancefangjiangzhuangtai", LiveHttpConsts.ANCHOR_CHECK_LIVE) .params("liveuid", liveUid) .params("stream", stream) .execute(callback); @@ -890,7 +890,7 @@ public class LiveHttpUtil { * 获取直播间信息 */ public static void getLiveInfo(String liveUid, HttpCallback callback) { - HttpClient.getInstance().get("Live.getLiveInfo", LiveHttpConsts.GET_LIVE_INFO) + HttpClient.getInstance().get("huoquzhiboxinxi", LiveHttpConsts.GET_LIVE_INFO) .params("liveuid", liveUid) .execute(callback); } @@ -911,7 +911,7 @@ public class LiveHttpUtil { */ public static void getHczGiftList(HttpCallback callback) { - HttpClient.getInstance().get("Home.aoto_load", "Home.aoto_load") + HttpClient.getInstance().get("yuxiazai", "yuxiazai") .execute(callback); } @@ -925,7 +925,7 @@ public class LiveHttpUtil { .execute(callback); } public static void getAnchorActiveImgStatus(String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Live.getAnchorActiveImgStatus", LiveHttpConsts.GET_EVENT) + HttpClient.getInstance().get("huoquzhuboxunfuchuangzhuangtai", LiveHttpConsts.GET_EVENT) .params("anchorUid", anchor_id) .execute(callback); } @@ -969,7 +969,7 @@ public class LiveHttpUtil { * 热度加成列表 */ public static void useHotCardUserList(String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Live.useHotCardUserList", LiveHttpConsts.USEHOTCARDUSERLIST) + HttpClient.getInstance().get("redukayonghuliebiao", LiveHttpConsts.USEHOTCARDUSERLIST) .params("anchor_id", anchor_id) .execute(callback); } @@ -978,7 +978,7 @@ public class LiveHttpUtil { * 是否有热度加成 */ public static void isHotCard(String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Live.isHotCard", LiveHttpConsts.ISHOTCARD) + HttpClient.getInstance().get("zhibozhongshifoushiyongreduka", LiveHttpConsts.ISHOTCARD) .params("anchor_id", anchor_id) .execute(callback); } @@ -997,7 +997,7 @@ public class LiveHttpUtil { * 获取用户贵族喇叭的数量 */ public static void getNobleTrumpetNum(HttpCallback callback) { - HttpClient.getInstance().get("Noble.getNobleTrumpetNum", "getNobleTrumpetNum") + HttpClient.getInstance().get("huoquguizulabashuliang", "huoquguizulabashuliang") .execute(callback); } @@ -1005,7 +1005,7 @@ public class LiveHttpUtil { * 获取用户贵族喇叭的数量 */ public static void nobleUseTrumpet(String trumpet_msg, String anchor_id, HttpCallback callback) { - HttpClient.getInstance().get("Noble.nobleUseTrumpet", "nobleUseTrumpet") + HttpClient.getInstance().get("guizushiyonglaba", "guizushiyonglaba") .params("", trumpet_msg) .params("", anchor_id) .execute(callback); diff --git a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java index cdbdb409e..92994a746 100644 --- a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java +++ b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java @@ -137,7 +137,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Noble.getNobleTrumpetNum") + @GET("/api/public/?service=huoquguizulabashuliang") Observable> getNobleTrumpetNum(); /** @@ -147,7 +147,7 @@ public interface PDLiveApi { * @param anchorid 主播id * @return */ - @GET("/api/public/?service=Noble.nobleUseTrumpet") + @GET("/api/public/?service=guizushiyonglaba") Observable>> nobleUseTrumpet( @Query("trumpet_msg") String trumpetMsg, @Query("anchor_id") String anchorid); @@ -155,7 +155,7 @@ public interface PDLiveApi { /** * FB是否替换新key */ - @GET("/api/public/?service=Login.getFaceBookUpType") + @GET("/api/public/?service=huoqufacebooksdkzhuangtai") Observable> faceBookUp(); /** @@ -167,7 +167,7 @@ public interface PDLiveApi { * @param p 頁碼 * @return */ - @GET("/api/public/?service=Home.newSearch") + @GET("/api/public/?service=shouyesousuohuiyuanv2") Observable>>> search( @Query("jian_key") String jianKey, @Query("fan_key") String fanKey, @@ -183,7 +183,7 @@ public interface PDLiveApi { * @param p 頁碼 * @return */ - @GET("/api/public/?service=Home.newSearch") + @GET("/api/public/?service=shouyesousuohuiyuanv2") Observable>> searchNew( @Query("jian_key") String jianKey, @Query("fan_key") String fanKey, @@ -196,12 +196,12 @@ public interface PDLiveApi { * @param num 请求数量 * @return */ - @GET("/api/public/?service=Home.anchorRecommend") + @GET("/api/public/?service=zhubotuijian") Observable> anchorRecommend( @Query("num") String num ); - @GET("/api/public/?service=Home.anchorRecommend") + @GET("/api/public/?service=zhubotuijian") Observable> anchorRecommend( @QueryMap Map map ); @@ -212,7 +212,7 @@ public interface PDLiveApi { * @param num 请求数量 * @return */ - @GET("/api/public/?service=Home.anchorRecommend") + @GET("/api/public/?service=zhubotuijian") Observable> anchorRecommend( @Query("num") String num, @Query("type") String type ); @@ -220,10 +220,9 @@ public interface PDLiveApi { /** * 获取直播间信息 * - * @param liveuid 主播id * @return */ - @GET("/api/public/?service=Live.getLiveInfo") + @GET("/api/public/?service=huoquzhiboxinxi") Observable>> getLiveInfo( @Query("liveuid") String liveui ); @@ -242,7 +241,7 @@ public interface PDLiveApi { /** * 获取首页位 */ - @GET("/api/public/?service=Home.getHot") + @GET("/api/public/?service=huoquremenzhubo") Observable>> getHot( @Query("p") int page ); @@ -265,7 +264,7 @@ public interface PDLiveApi { * @param uid 直播间id,并非用户uid * @return 榜单结构 */ - @GET("/api/public/?service=Contribute.index") + @GET("/api/public/?service=xiaofeitongji") Observable> getRanksList(@Query("uid") String uid); /** @@ -273,7 +272,7 @@ public interface PDLiveApi { * * @return 新人特惠数据 */ - @GET("/api/public/?service=Live.newUserPreferential") + @GET("/api/public/?service=zhiboxinrentehuiv2") Observable> getNewPeopleInfo(); /** @@ -299,13 +298,13 @@ public interface PDLiveApi { * * @param liveuid 直播间id */ - @GET("/api/public/?service=Live.getHourChartRank") + @GET("/api/public/?service=xiaoshibangpaiming") Observable>> getHourChartRank(@Query("liveuid") String liveuid); /** * 清除系统消息的未读数 */ - @GET("/api/public/?service=Message.setMessageReadAll") + @GET("/api/public/?service=shezhixiaoxiyiduzhuangtai") Observable>> setMessageReadAll(); /** @@ -332,13 +331,13 @@ public interface PDLiveApi { /** * 【新人特惠】【趣味游戏】【幸运天使】 */ - @GET("/api/public/?service=Live.getLiveRoomActivtyBanner") + @GET("/api/public/?service=huoquhuodongxunfutupian") Observable>> getLiveRoomActivityBanner(); /** * 新侧边栏请求 */ - @GET("/api/public/?service=Live.getCustomSidebarInfo") + @GET("/api/public/?service=huoqucebianlanxinxi") Observable>> getCustomSidebarInfo(@Query("type") String type); /** @@ -356,13 +355,13 @@ public interface PDLiveApi { /** * 多人连麦-创建房间 */ - @GET("/api/public/?service=Live.createDrLm") + @GET("/api/public/?service=kaiqiduorenlianmai") Observable> createDrLm(); /** * 多人连麦-关闭房间 */ - @GET("/api/public/?service=Live.delDrLm") + @GET("/api/public/?service=jieshuduorenlianmai") Observable> delDrLm(); /** @@ -371,7 +370,7 @@ public interface PDLiveApi { * @param uid 对方uid * @param roomId 当前房间号 */ - @GET("/api/public/?service=Live.killDrLm") + @GET("/api/public/?service=shanchuduorenlianmai") Observable> killDrLm(@Query("uid") String uid, @Query("roomid") String roomId); /** @@ -383,7 +382,7 @@ public interface PDLiveApi { * @param city * @return */ - @GET("/api/public/?service=Live.enterRoomNew") + @GET("/api/public/?service=jinruzhibojianv2") Observable> enterRoomNew( @Query("GroupId") String groupId, @Query("stream") String stream, @@ -396,7 +395,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Live.checkLive") + @GET("/api/public/?service=jianchazhibo") Observable>> checkLive( @Query("liveuid") String liveUid, @Query("stream") String stream @@ -425,7 +424,7 @@ public interface PDLiveApi { * * @return 1=开,0=关 */ - @GET("/api/public/?service=Livepk.getRandomPKType") + @GET("/api/public/?service=huoqusuijipkzhuangtai") Observable>> getRandomPkSwitch(); /** @@ -433,31 +432,31 @@ public interface PDLiveApi { * * @param pk 1=开,0=关 */ - @GET("/api/public/?service=Livepk.setRandomPKType") + @GET("/api/public/?service=shezhisuijipkzhuangtai") Observable>> changeRandomPkSwitch(@Query("random_pk") int pk); /** * 获取自由PK次数 */ - @GET("/api/public/?service=Livepk.getActivePkNum") + @GET("/api/public/?service=chaxunshoudongpkcishu") Observable> getFreePkNumber(); /** * 发起随机PK */ - @GET("/api/public/?service=Livepk.setRandomPK") + @GET("/api/public/?service=faqisuijipk") Observable> randomPK(); /** * 随机PK后调用接口给后台记录 */ - @GET("/api/public/?service=Livepk.startRandomPK") + @GET("/api/public/?service=kaishisuijipk") Observable> startRandomPK(@Query("pkuid") String pkuid); /** * 自由PK开始后调用接口扣掉次数 */ - @GET("/api/public/?service=Livepk.setActivePkNum") + @GET("/api/public/?service=shezhishoudongpkcishu") Observable>> setFreePkNum(); /** @@ -466,13 +465,13 @@ public interface PDLiveApi { * @param cs 简体关键字/uid * @param ct 繁体关键字/uid */ - @GET("/api/public/?service=Livepk.searchUser") + @GET("/api/public/?service=zhushousousuo") Observable>> randomPkSearchUser(@Query("jian_key") String cs, @Query("fan_key") String ct); /** * 拒绝随机PK */ - @GET("/api/public/?service=Livepk.setBanRandomPK") + @GET("/api/public/?service=shejujuepkzhuangtai") Observable> setBanRandomPK(); /** @@ -554,7 +553,7 @@ public interface PDLiveApi { /** * 设置机器人开关 */ - @GET("/api/public/?service=Live.setAnchorAiState") + @GET("/api/public/?service=xiugaizhushoujiqirenxinxi") Observable> setAnchorAiState( @Query("ai_state") String ai_state ); @@ -569,7 +568,7 @@ public interface PDLiveApi { /** * 修改机器人信息 */ - @GET("/api/public/?service=Live.setAnchorAiState") + @GET("/api/public/?service=xiugaizhushoujiqirenxinxi") Observable> setAnchorAiState( @QueryMap Map map ); @@ -579,7 +578,7 @@ public interface PDLiveApi { * * @param type 1(自定义打招呼) 3(自定义求关注) */ - @GET("/api/public/?service=Live.getAiAutomaticSpeech") + @GET("/api/public/?service=huoqujiqirenhuashu") Observable>> getAiAutomaticSpeech( @Query("type") String type ); @@ -587,7 +586,7 @@ public interface PDLiveApi { /** * 机器人添加话术 */ - @GET("/api/public/?service=Live.addAiAutomaticSpeech") + @GET("/api/public/?service=tianjiajiqirenhuashu") Observable>> addAiAutomaticSpeech( @Query("type") String type, @Query("content") String content @@ -596,7 +595,7 @@ public interface PDLiveApi { /** * 机器人删除话术 */ - @GET("/api/public/?service=Live.delAiAutomaticSpeech") + @GET("/api/public/?service=shanchujiqirenhuashu") Observable>> delAiAutomaticSpeech( @Query("type") String type, @Query("id") String id @@ -605,7 +604,7 @@ public interface PDLiveApi { /** * 机器人修改话术 */ - @GET("/api/public/?service=Live.updateAiAutomaticSpeech") + @GET("/api/public/?service=xiugaijiqirenhuashu") Observable>> updateAiAutomaticSpeech( @Query("type") String type, @Query("id") String id, @@ -615,7 +614,7 @@ public interface PDLiveApi { /** * 开播获取机器人状态和心愿单状态 */ - @GET("/api/public/?service=Live.getLiveStetUpStatus") + @GET("/api/public/?service=huoquzhibojiqirenzhuangtai") Observable> getLiveStetUpStatus( @Query("liveuid") String liveUid ); @@ -625,7 +624,7 @@ public interface PDLiveApi { @Query("roomid") String roomId, @Query("uid") String uid); - @GET("/api/public/?service=Message.getListInfo") + @GET("/api/public/?service=huoquxitongxiaoxixiangqing") Observable>> getListInfo( @Query("type") String type, @Query("p") int p); @@ -642,7 +641,7 @@ public interface PDLiveApi { /** * 获取直播数据 */ - @GET("/api/public/?service=Live.getLiveStatisticalData") + @GET("/api/public/?service=huoquzhibotongjishuj") Observable> getLiveDataInfo( @Query("liveuid") String liveUid ); @@ -650,7 +649,7 @@ public interface PDLiveApi { /** * 获取直播数据 */ - @GET("/api/public/?service=Message.getAnchorMsg") + @GET("/api/public/?service=huoquzhubaoxiaoxi") Observable>> getAnchorMsg( @Query("liveuid") String liveUid, @Query("page") int page, @Query("limit") int limit ); @@ -658,7 +657,7 @@ public interface PDLiveApi { /** * 获取女神说数据 */ - @GET("/api/public/?service=Live.getLivePreviewInfo") + @GET("/api/public/?service=huoquzhiboyugaoxinxi") Observable> getLivePreviewInfo( @Query("liveuid") String liveUid ); @@ -670,7 +669,7 @@ public interface PDLiveApi { * @param content 内容 * @param styleImage 女神说底图地址 */ - @GET("/api/public/?service=Live.setLivePreview") + @GET("/api/public/?service=shezhizhiboyugao") Observable> setLivePreviewInfo( @Query("liveuid") String liveUid, @Query("isShow") int isShow, @@ -681,7 +680,7 @@ public interface PDLiveApi { /** * 设置主播联系方式 */ - @GET("/api/public/?service=Live.setAnchorContact") + @GET("/api/public/?service=shezhizhubolianxifangshi") Observable> setAnchorContact( @Query("liveuid") String liveUid, @Query("isShow") int show, @@ -695,7 +694,7 @@ public interface PDLiveApi { /** * 获取主播联系方式 */ - @GET("/api/public/?service=Live.getContactInfo") + @GET("/api/public/?service=huoqulianxifangshi") Observable> getContactInfo( @Query("liveuid") String liveUid ); @@ -703,7 +702,7 @@ public interface PDLiveApi { /** * 获取收件箱信息 */ - @GET("/api/public/?service=Live.getContactMsg") + @GET("/api/public/?service=huoqulianxifangshixiaoxi") Observable>> getContactMsg( @Query("p") int page ); @@ -711,7 +710,7 @@ public interface PDLiveApi { /** * 删除联系方式信件 */ - @GET("/api/public/?service=Live.delContactMsg") + @GET("/api/public/?service=shanchulianxifangshixiaoxi") Observable> delContactMsg( @Query("msgId") int msgId ); @@ -721,7 +720,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Guide.getWishlistV2") + @GET("/api/public/?service=huoquxinyuandanv2") Observable>> getWishlistV2(@Query("type") int type); /** @@ -730,7 +729,7 @@ public interface PDLiveApi { * @param type 1日心愿单,2周,3月,4季度 * @return */ - @GET("/api/public/?service=Guide.getWishListGiftConf") + @GET("/api/public/?service=huoquxinyuandanpeizhi") Observable> getWishListGiftConf( @Query("type") int type ); @@ -742,7 +741,7 @@ public interface PDLiveApi { * @param list 列表json数据 * @return */ - @GET("/api/public/?service=Guide.setWishlistV2") + @GET("/api/public/?service=shezhixinyuandanv2") Observable>> setWishlistV2( @Query("type") int type, @Query("list") String list @@ -751,7 +750,7 @@ public interface PDLiveApi { /** * 获取折扣卷信息 */ - @GET("/api/public/?service=Coupon.getUserCoupon") + @GET("/api/public/?service=huoquyonghuyouhuijuan") Observable>> getDiscountInfo( @Query("type") int type ); @@ -777,7 +776,7 @@ public interface PDLiveApi { /** * 创建投票 */ - @GET("/api/public/?service=Live.createLiveVote") + @GET("/api/public/?service=chuangjianzhubotoupiao") Observable> createLiveVote(@Query("liveuid") String liveUid, @Query("question_content") String content, @Query("option_content_first") String first, @@ -786,45 +785,45 @@ public interface PDLiveApi { /** * 更新投票 */ - @GET("/api/public/?service=Live.setLiveVote") + @GET("/api/public/?service=shezhizhubotoupiao") Observable>> updateLiveVote(@Query("liveuid") String liveUid, @Query("option_content_key") String key); /** * 主动结束投票 */ - @GET("/api/public/?service=Live.endLiveVote") + @GET("/api/public/?service=jieshuzhubotoupiao") Observable>> endLiveVote(@Query("liveuid") String liveUid); /** * 获取盲盒礼物当前数据 */ - @GET("/api/public/?service=Live.getBlindBoxInfo") + @GET("/api/public/?service=huoqumanghexinxi") Observable>> getBlindBoxInfo(); /** * 获取红包记录列表 */ - @GET("/api/public/?service=Live.redPacketRecord") + @GET("/api/public/?service=hongbaojilu") Observable>> getRedPacketList(); /** * 获取红包詳情 */ - @GET("/api/public/?service=Live.redPacketRecordDetails") + @GET("/api/public/?service=hongbaolingquxiangqing") Observable> getRedPacketDetails(@Query("red_packet_id") int id); /** * 获取直播间上下滑动红包集合 */ - @GET("/api/public/?service=Home.getRedPacket") + @GET("/api/public/?service=huoquhongbaozhuanquliebiao") Observable>> getRedPacket(); /** * 创建红包 */ - @GET("/api/public/?service=Live.createRedPacket") + @GET("/api/public/?service=chuangjianrenqihongbao") Observable> createRedPacket( @Query("liveuid") String liveUid, @Query("is_fans") int needFansGroup, @@ -836,7 +835,7 @@ public interface PDLiveApi { /** * 获取红包数据 */ - @GET("/api/public/?service=Live.redPacketInfo") + @GET("/api/public/?service=hongbaoxiangqing") Observable> redPacketInfo( @Query("liveuid") String liveUid, @Query("red_packet_id") String redPacketId @@ -846,7 +845,7 @@ public interface PDLiveApi { /** * 获取盲盒礼物当前数据 */ - @GET("/api/public/?service=Live.getRedPacket") + @GET("/api/public/?service=lingquhongbao") Observable> getRedPacket( @Query("liveuid") String liveUid, @Query("stream") String stream, @@ -856,7 +855,7 @@ public interface PDLiveApi { /** * 超级红包打开接口 */ - @GET("/api/public/?service=Live.getRedPacketSuperPrize") + @GET("/api/public/?service=lingquchaojihongbao") Observable> getRedPacketSuperPrize( @Query("liveuid") String liveUid, @Query("super_jackpot_id") String superJackpotId @@ -865,7 +864,7 @@ public interface PDLiveApi { /** * 获取普通红包的领取记录 */ - @GET("/api/public/?service=Live.getRedPacketReceive") + @GET("/api/public/?service=huoquhongbaolingquxiangqing") Observable>> getRedPacketReceive( @Query("red_packet_id") String redPacketId ); @@ -873,7 +872,7 @@ public interface PDLiveApi { /** * 获取普通红包的领取记录 */ - @GET("/api/public/?service=Live.getRedPacketSuperPrizeReceive") + @GET("/api/public/?service=chaojihongbaolingquliebiao") Observable>> getRedPacketSuperPrizeReceive( @Query("super_jackpot_id") String superJackpotId ); @@ -890,7 +889,7 @@ public interface PDLiveApi { /** * 获取普通红包的领取记录 */ - @GET("/api/public/?service=Live.startRedPacketRobot") + @GET("/api/public/?service=hongbaojiqiren") Observable> startRedPacketRobot( @Query("liveuid") String liveUid, @Query("stream") String stream, @@ -916,7 +915,7 @@ public interface PDLiveApi { /** * 礼物墙已点亮 */ - @GET("/api/public/?service=Gift.giftAlreadyWall") + @GET("/api/public/?service=huoqudianliangliwuqiang") Observable> giftAlreadyWall( @Query("liveuid") String liveUid, @Query("to_uid") String toUid @@ -925,7 +924,7 @@ public interface PDLiveApi { /** * 礼物墙已点亮 */ - @GET("/api/public/?service=Gift.giftUserSendWall") + @GET("/api/public/?service=huoquyonghuyisongchuliwuqiang") Observable> giftUserSendWall( @Query("liveuid") String liveUid, @Query("to_uid") String toUid @@ -934,7 +933,7 @@ public interface PDLiveApi { /** * 礼物墙未点亮 */ - @GET("/api/public/?service=Gift.giftWithoutWall") + @GET("/api/public/?service=huoquweidianliangliwuqiang") Observable> giftWithoutWall( @Query("liveuid") String liveUid, @Query("to_uid") String toUid @@ -943,7 +942,7 @@ public interface PDLiveApi { /** * 礼物墙选中礼物详情 */ - @GET("/api/public/?service=Gift.giftDetail") + @GET("/api/public/?service=huoquliwuguanmingxiangqing") Observable> giftDetail( @Query("liveuid") String liveUid, @Query("gift_id") String giftId, @@ -955,7 +954,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Gift.currentMonthGiftNaming") + @GET("/api/public/?service=huoqudangyueliwuquanfuguanming") Observable>> currentMonthGiftNaming(); /** @@ -963,7 +962,7 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Gift.lastMonthGiftNaming") + @GET("/api/public/?service=huoqushangyueliwuquanfuguanming") Observable>> lastMonthGiftNaming(); /** @@ -971,22 +970,22 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Gift.getGiftGuide") + @GET("/api/public/?service=huoquliwutujian") Observable>> getGiftGuide( @Query("liveuid") String liveUid, @Query("to_uid") String toUid ); - @GET("/api/public/?service=Gift.getGiftGuideHistory") + @GET("/api/public/?service=huoquzhouxingbanlishishuju") Observable>> getGiftGuideHistory( @Query("liveuid") String liveUid, @Query("to_uid") String toUid ); - @GET("/api/public/?service=Gift.getUserMedalList") + @GET("/api/public/?service=huoquyonghuxunzhang") Observable> getUserMedalList(@Query("to_uid") String toUid); - @GET("/api/public/?service=Gift.getLiveMedalList") + @GET("/api/public/?service=huoquzhuboxunzhang") Observable> getLiveMedalList(@Query("liveuid") String liveUid); /** @@ -994,7 +993,7 @@ public interface PDLiveApi { * * @param packId 礼包id */ - @GET("/api/public/?service=Fans.getFansExclusivePack") + @GET("/api/public/?service=huoqubaoguxiangqing") Observable> getFansExclusivePack(@Query("liveuid") String liveUid, @Query("pack_id") String packId ); @@ -1004,7 +1003,7 @@ public interface PDLiveApi { * * @param packId 礼包id */ - @GET("/api/public/?service=Fans.buyFansExclusivePack") + @GET("/api/public/?service=goumailibao") Observable> buyFansExclusivePack(@Query("liveuid") String liveUid, @Query("pack_id") String packId, @Query("stream") String stream @@ -1013,13 +1012,13 @@ public interface PDLiveApi { /** * 获取粉丝团礼物包裹 */ - @GET("/api/public/?service=Fans.userFansExclusivePackList") + @GET("/api/public/?service=fensituanliwubaoguoliebiao") Observable>> userFansExclusivePackList(@Query("liveuid") String liveUid); /** * 获取粉丝团礼物包裹 */ - @GET("/api/public/?service=Fans.getCheckFansLevelUpgrade") + @GET("/api/public/?service=jianchayonghufensiliwuzhuangtai") Observable> getCheckFansLevelUpgrade(@Query("liveuid") String liveUid); @GET("/api/public/?service=gift.getGiftNamingInfo") @@ -1111,7 +1110,7 @@ public interface PDLiveApi { /** * 活动弹窗 */ - @GET("/api/public/?service=Home.activityPopup") + @GET("/api/public/?service=huoqutanchuangshuju") Observable>> activityPopup(); @GET("/api/public/?service=Sudgameserver.gameStartCheckRemainingBalance") @@ -1152,10 +1151,10 @@ public interface PDLiveApi { @Field("quantity") String quantity ); - @GET("/api/public/?service=Livebattlepass.upgradesBattlePass") + @GET("/api/public/?service=shenjizhanling") Observable> upgradesBattlePass(@Query("battle_pass_type_id") String battlePassTypeId); - @GET("/api/public/?service=Livebattlepass.buyingExperiencePoint") + @GET("/api/public/?service=goumaijingyanzhi") Observable> buyingExperiencePoint(@Query("exp_count") String expCount); /** @@ -1164,37 +1163,37 @@ public interface PDLiveApi { * * @return */ - @GET("/api/public/?service=Livebattlepass.pointsExchange") + @GET("/api/public/?service=jifenduihuanwupin") Observable> pointsExchange( @Query("battle_pass_points_id") String battlePassPointsId, @Query("count") String count ); - @GET("/api/public/?service=Livebattlepass.getBattlePassUserInfo") + @GET("/api/public/?service=huoquzhanlingyonghudengji") Observable> getBattlePassUserInfo(); - @GET("/api/public/?service=Livebattlepass.getLiveBattlePassRewards") + @GET("/api/public/?service=huoqujianglishuju") Observable> getLiveBattlePassRewards(); - @GET("/api/public/?service=Livebattlepass.getRewards") + @GET("/api/public/?service=zhibolingqudengjijiangli") Observable>> getRewards( @Query("live_battle_pass_level_id") String rewardLevelId, @Query("live_battle_pass_rewards_id") String rewardId ); - @GET("/api/public/?service=Livebattlepass.getBattlePassTask") + @GET("/api/public/?service=huoquzhandoutongguorenwu") Observable> getBattlePassTask(); - @GET("/api/public/?service=Livebattlepass.getTask") + @GET("/api/public/?service=zhibolingqurenwujiangli") Observable>> getTask(@Query("task_id") String taskId); - @GET("/api/public/?service=Livebattlepass.getBattlePassPoints") + @GET("/api/public/?service=jifenduihuan") Observable>> getBattlePassPoints(); - @GET("/api/public/?service=Livebattlepass.battlePassRule") + @GET("/api/public/?service=zhibozhanlingguize") Observable> battlePassRule(); - @GET("/api/public/?service=Livebattlepass.addChatCount") + @GET("/api/public/?service=tianjialiaotianshu") Observable>> addChatCount(@Query("stream") String stream); @GET("/api/public/?service=Sudgameserver.joinMic") @@ -1215,35 +1214,35 @@ public interface PDLiveApi { @GET("/api/public/?service=Sudgameserver.getRoomMicStatus") Observable> getRoomMicStatus(); - @GET("/api/public/?service=Guard.getGuardUserInfo") + @GET("/api/public/?service=huoqushouhukaitongxinxi") Observable> getGuardUserInfo(@Query("liveuid") String liveUid); - @GET("/api/public/?service=Guard.getGuardOpenInfo") + @GET("/api/public/?service=huoqushouhukaitongyemian") Observable> getGuardOpenInfo(@Query("liveuid") String liveUid); - @GET("/api/public/?service=Guard.openGuard") + @GET("/api/public/?service=kaitongshouhu") Observable> openGuard(@Query("liveuid") String liveUid, @Query("guard_type") String guardType, @Query("price_key") String priceKey, @Query("stream") String stream,@Query("coupon_type") String coupon_type,@Query("coupon_id") String coupon_id); - @GET("/api/public/?service=Guard.sendMoneyLong") + @GET("/api/public/?service=kaitonglongshensongcai") Observable> sendMoneyLong(@Query("liveuid") String liveUid, @Query("gold_num") String goldNum); - @GET("/api/public/?service=Guard.sendMoneyLongList") + @GET("/api/public/?service=shenlongsongcailiebiao") Observable>> sendMoneyLongList(@Query("liveuid") String liveUid); - @GET("/api/public/?service=Guard.participateMoneyLong") + @GET("/api/public/?service=canyulongshensongcai") Observable> participateMoneyLong(@Query("liveuid") String liveUid, @Query("send_money_long_key") String sendMoneyLongKey); - @GET("/api/public/?service=Guard.endSendMoneyLong") + @GET("/api/public/?service=shenlongsongcaijieshu") Observable> endSendMoneyLong(@Query("liveuid") String liveUid, @Query("send_money_long_key") String sendMoneyLongKey); - @GET("/api/public/?service=Guard.checkUpgrades") + @GET("/api/public/?service=jianchayonghushenjizhuangtai") Observable> checkUpgrades(@Query("liveuid") String liveUid); - @GET("/api/public/?service=Guard.getRewards") + @GET("/api/public/?service=lingqudengjijiangli") Observable> guardGetRewards(@Query("guard_level") String guardLevel, @Query("liveuid") String liveUid); @Multipart - @POST("/api/public/?service=Pdlinfos.updateAvatar") + @POST("/api/public/?service=pdltouxiangshangchuan") Observable> updateFile(@Part MultipartBody.Part file, @Query("uid") String uid, @Query("token") String token); @GET("/api/public/?service=User.userFeedback") @@ -1294,16 +1293,16 @@ public interface PDLiveApi { @Query("type")String type ); - @GET("/api/public/?service=Gift.getGiftHallMedalList") + @GET("/api/public/?service=huoqyliwuxunzhangliebiao") Observable> getGiftHallMedalList(@Query("to_uid") String liveUid,@Query("type")String type); - @GET("/api/public/?service=Gift.useMedal") + @GET("/api/public/?service=yonghupeidaizhuangban") Observable>> userUseDress(@Query("users_dress_id")String users_dress_id,@Query("dress_type")int dress_type); /** * 个人展馆 */ - @GET("/api/public/?service=Gift.singleUserGiftHall") + @GET("/api/public/?service=yonghugerenzhanguan") Observable> singleUserGiftHall( @Query("user_id")String userId, @Query("screen")int screen @@ -1312,7 +1311,7 @@ public interface PDLiveApi { /** * 主播展馆 */ - @GET("/api/public/?service=Gift.liveGiftHall") + @GET("/api/public/?service=zhubogerenzhanguan") Observable> liveGiftHall( @Query("live_id")String userId, @Query("screen")int screen @@ -1321,7 +1320,7 @@ public interface PDLiveApi { /** * 个人展馆详情 */ - @GET("/api/public/?service=Gift.singleUserGiftHallDetail") + @GET("/api/public/?service=gerenzhanguanxiangqing") Observable> singleUserGiftHallDetail( @Query("user_id")String userId, @Query("gift_id")String gift_id @@ -1330,7 +1329,7 @@ public interface PDLiveApi { /** * 主播展馆详情 */ - @GET("/api/public/?service=Gift.liveGiftHallDetail") + @GET("/api/public/?service=zhubozhanguanliwuxiangqing") Observable> liveGiftHallDetail( @Query("live_id")String live_id, @Query("gift_id")String gift_id, @@ -1341,18 +1340,18 @@ public interface PDLiveApi { /** * 全站展馆 */ - @GET("/api/public/?service=Gift.allGiftHall") + @GET("/api/public/?service=quanzhanzhanguan") Observable> allGiftHall( @Query("type")String type ); - @GET("/api/public/?service=Gift.lastAllGiftHallWeekStarDetail") + @GET("/api/public/?service=shangqiguanmingzhouxingliwu") Observable> lastAllGiftHallWeekStarDetail( @Query("gift_id")String giftId, @Query("live_uid")String liveUid ); //处罚通知红点 - @GET("/api/public/?service=Message.penalizeStatus") + @GET("/api/public/?service=jianchaweiduchufanxiaoxi") Observable getPenalizeStatus(); @GET("/api/public/?service=Sudgameserver.ballClearanceTableStatus") diff --git a/common/src/main/java/com/yunbao/common/manager/NoviceInstructorManager.java b/common/src/main/java/com/yunbao/common/manager/NoviceInstructorManager.java index 9bbaa942a..2fb11b78f 100644 --- a/common/src/main/java/com/yunbao/common/manager/NoviceInstructorManager.java +++ b/common/src/main/java/com/yunbao/common/manager/NoviceInstructorManager.java @@ -116,7 +116,7 @@ public class NoviceInstructorManager extends BaseCacheManager { IMLoginModel userModel = new Gson().fromJson(model1.getExtra(), IMLoginModel.class); if (userModel != null && TextUtils.equals(userModel.getIsAdmin(), "1")) { IMLoginModel userInfo = IMLoginManager.get(context).getUserInfo(); - HttpClient.getInstance().get("Message.setZdyMsg", "setZdyMsg") + HttpClient.getInstance().get("shezhizhidaoyuanxiaoxizhuangtai", "shezhizhidaoyuanxiaoxizhuangtai") .params("uid", userInfo.getId(), true) .execute(new HttpCallback() { @Override diff --git a/common/src/main/java/com/yunbao/common/pay/PayPresenter.java b/common/src/main/java/com/yunbao/common/pay/PayPresenter.java index 5addddb5a..aa7d76c8f 100644 --- a/common/src/main/java/com/yunbao/common/pay/PayPresenter.java +++ b/common/src/main/java/com/yunbao/common/pay/PayPresenter.java @@ -137,7 +137,7 @@ public class PayPresenter { initGooglePay(); } - String newParm = StringUtil.contact("Charge.getGoogleOrder", orderParams, "&type=android", + String newParm = StringUtil.contact("gugeshangpindingdan", orderParams, "&type=android", "&appname=", mActivity.getString(R.string.app_name), "&desc=" + mActivity.getPackageName() + "&source=android" ); diff --git a/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/LiveFloatView.java b/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/LiveFloatView.java index 0b43f7d0a..ec2e7d8f0 100644 --- a/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/LiveFloatView.java +++ b/lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/LiveFloatView.java @@ -333,7 +333,7 @@ public class LiveFloatView implements Function1 { private Runnable liveCheck = new Runnable() { @Override public void run() { - HttpClient.getInstance().get("Live.checkLive", "") + HttpClient.getInstance().get("jianchazhibo", "") .params("liveuid", mLiveBean.getUid()) .params("stream", mLiveBean.getStream()) .execute(new HttpCallback() { diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java index 6430619b4..e59f17d64 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java @@ -172,7 +172,7 @@ public class LiveMicUserDialogFragment extends AbsDialogFragment implements View @Override public void run() { - HttpClient.getInstance().get("Live.getUserDrLmPower", "Live.getUserDrLmPower") + HttpClient.getInstance().get("huoquyonghulianmaizhuangtai", "huoquyonghulianmaizhuangtai") .params("roomid", LiveActivity.mLiveUid) .params("uid", CommonAppConfig.getInstance().getUid()) .execute(new HttpCallback() { diff --git a/live/src/main/java/com/yunbao/live/http/ImHttpConsts.java b/live/src/main/java/com/yunbao/live/http/ImHttpConsts.java index ff0669945..c1e3ad8ea 100644 --- a/live/src/main/java/com/yunbao/live/http/ImHttpConsts.java +++ b/live/src/main/java/com/yunbao/live/http/ImHttpConsts.java @@ -9,7 +9,7 @@ public class ImHttpConsts { public static final String GET_SYSTEM_MESSAGE_LIST = "getSystemMessageList"; public static final String GET_COMMUNITYLIST_LIST = "getCommunityList"; public static final String CHECK_BLACK = "checkBlack"; - public static final String SEND_DYNAMICCOMMENT = "sendDynamicComment"; + public static final String SEND_DYNAMICCOMMENT = "fabudongtaipinglun"; public static final String SET_BLACK = "setBlack"; public static final String GET_MESSAGEGIFTINFO = "getMessageGiftInfo"; diff --git a/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java b/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java index dfa65a318..849a02aea 100644 --- a/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java +++ b/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java @@ -28,7 +28,7 @@ public class ImHttpUtil { * 互动消息回复 */ public static void sendDynamicComment(String dynamic_id, String content, String to_comment_id, HttpCallback callback) { - HttpClient.getInstance().get("Community.sendDynamicComment", ImHttpConsts.SEND_DYNAMICCOMMENT) + HttpClient.getInstance().get("fabudongtaipinglun", ImHttpConsts.SEND_DYNAMICCOMMENT) .params("dynamic_id", dynamic_id) .params("content", content) .params("to_comment_id", to_comment_id) @@ -39,7 +39,7 @@ public class ImHttpUtil { * 获取系统消息列表 */ public static void getSystemMessageList(String type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Message.getListInfo", ImHttpConsts.GET_SYSTEM_MESSAGE_LIST) + HttpClient.getInstance().get("huoquxitongxiaoxixiangqing", ImHttpConsts.GET_SYSTEM_MESSAGE_LIST) .params("p", p) .params("type", type) .execute(callback); @@ -49,7 +49,7 @@ public class ImHttpUtil { * 猜你喜欢 */ public static void getCommunityList(int p, HttpCallback callback) { - HttpClient.getInstance().get("Community.guessYouLike", ImHttpConsts.GET_COMMUNITYLIST_LIST) + HttpClient.getInstance().get("cainixihuandongtailiebiao", ImHttpConsts.GET_COMMUNITYLIST_LIST) .params("p", p) .execute(callback); } @@ -78,7 +78,7 @@ public class ImHttpUtil { * 获取补偿消息详情 */ public static void getMessageGiftInfo(String msgid, HttpCallback callback) { - HttpClient.getInstance().get("Message.getMessageGiftInfo", ImHttpConsts.GET_MESSAGEGIFTINFO) + HttpClient.getInstance().get("chakanxiaoxilibanxiangqing", ImHttpConsts.GET_MESSAGEGIFTINFO) .params("message_id", msgid) .execute(callback); } @@ -87,7 +87,7 @@ public class ImHttpUtil { * 删除系统消息 */ public static void delMsg(String msgid, HttpCallback callback) { - HttpClient.getInstance().get("Message.deleteSystemMessage", ImHttpConsts.GET_MESSAGEGIFTINFO) + HttpClient.getInstance().get("shanchuxitongxiaoxi", ImHttpConsts.GET_MESSAGEGIFTINFO) .params("message_id", msgid) .execute(callback); } @@ -96,7 +96,7 @@ public class ImHttpUtil { * 已读 系统消息 */ public static void readMsg(String msgid, HttpCallback callback) { - HttpClient.getInstance().get("Message.systemMessageRead", ImHttpConsts.GET_MESSAGEGIFTINFO) + HttpClient.getInstance().get("xitongxiaoxiyiduzhuangtai", ImHttpConsts.GET_MESSAGEGIFTINFO) .params("message_id", msgid) .execute(callback); } @@ -105,7 +105,7 @@ public class ImHttpUtil { * 领取礼物 */ public static void receiveGift(String msgid, HttpCallback callback) { - HttpClient.getInstance().get("Message.getMessageGiftDetails", ImHttpConsts.GET_MESSAGEGIFTINFO) + HttpClient.getInstance().get("lingquxitongxiaoxilibao", ImHttpConsts.GET_MESSAGEGIFTINFO) .params("message_id", msgid) .execute(callback); } @@ -114,7 +114,7 @@ public class ImHttpUtil { * 处罚通知是否有未读消息 */ public static void getPenalizeStatus(HttpCallback callback) { - HttpClient.getInstance().get("Message.penalizeStatus", "Message.penalizeStatus") + HttpClient.getInstance().get("jianchaweiduchufanxiaoxi", "jianchaweiduchufanxiaoxi") .execute(callback); } @@ -122,7 +122,7 @@ public class ImHttpUtil { * 处罚通知列表 */ public static void getPenalizeList(int p, HttpCallback callback) { - HttpClient.getInstance().get("Message.penalizeList", "Message.penalizeList") + HttpClient.getInstance().get("chufantongzhiliebiao", "chufantongzhiliebiao") .params("p", p) .execute(callback); } diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPkPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPkPresenter.java index ccd32ba92..3524e006d 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPkPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPkPresenter.java @@ -251,7 +251,7 @@ public class LiveLinkMicPkPresenter implements View.OnClickListener { mLiveLinkMicPkViewHolder.setTime(s + " " + s1); if (i == 0 && s1.equals("00:01") && mIsAnchor && !s.contains("懲罰")) { i = 1; - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK") + HttpClient.getInstance().get("jieshupk", "jieshupk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("addtime", "00:00") .params("type", "0") @@ -768,7 +768,7 @@ public class LiveLinkMicPkPresenter implements View.OnClickListener { //把画面设置成九宫格 dr_pk_view.setVisibility(View.VISIBLE); - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", u.getId()) .params("type", "1") diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java index 79ecd5f25..27a9edeaf 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java @@ -546,7 +546,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener { //获取活动 private void getEvent() { if (btn_onecz_event != null) { - HttpClient.getInstance().get("Charge2.isFirstChargeIcons", "Charge2.isFirstChargeIcons") + HttpClient.getInstance().get("xinbanshifouxianshishouchongtubiao", "xinbanshifouxianshishouchongtubiao") .params("uid", CommonAppConfig.getInstance().getUid()) .params("token", CommonAppConfig.getInstance().getToken()) .execute(new HttpCallback() { diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java index 039232dcc..4b04098e0 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java @@ -397,7 +397,7 @@ public class LiveRyLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V Log.i("tts2", s1); mLiveLinkMicPkViewHolder.setTime(s + " " + s1); if (s1.equals("00:01") && mIsAnchor && !s.contains("懲罰")) { - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK") + HttpClient.getInstance().get("jieshupk", "jieshupk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("addtime", "00:00") .params("type", "0") @@ -940,7 +940,7 @@ public class LiveRyLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V @Override protected void onDRPkApply(UserBean u) { - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", u.getId()) .params("type", "1") diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java index 2c25aac46..a05c93ff1 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java @@ -350,7 +350,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V Log.i("tts2", s1); mLiveLinkMicPkViewHolder.setTime(s + " " + s1); if (s1.equals("00:01") && mIsAnchor && !s.contains("懲罰")) { - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK").params("uid", CommonAppConfig.getInstance().getUid()).params("addtime", "00:00").params("type", "0").params("sign", "1").execute(new HttpCallback() { + HttpClient.getInstance().get("jieshupk", "jieshupk").params("uid", CommonAppConfig.getInstance().getUid()).params("addtime", "00:00").params("type", "0").params("sign", "1").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0) { @@ -697,7 +697,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V @Override protected void onDRPkApply(UserBean u) { - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive").params("uid", CommonAppConfig.getInstance().getUid()).params("pkuid", u.getId()).params("type", "1").params("sign", "1").execute(new HttpCallback() { + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi").params("uid", CommonAppConfig.getInstance().getUid()).params("pkuid", u.getId()).params("type", "1").params("sign", "1").execute(new HttpCallback() { @Override public void onSuccess(int code, String msgs, String[] info) { if (code == 0) { diff --git a/live/src/main/java/com/yunbao/live/socket/SocketLinkMicPkUtil.java b/live/src/main/java/com/yunbao/live/socket/SocketLinkMicPkUtil.java index 867e0c7c1..8118f3e67 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketLinkMicPkUtil.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketLinkMicPkUtil.java @@ -43,7 +43,7 @@ public class SocketLinkMicPkUtil { */ public static void linkMicPkAccept(SocketClient client, String pkUid, String url, String name) { Log.i("pksend", "发送的pkurl=" + url + "****发送的pkname=" + name); - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("pkuid", pkUid) .params("type", "1") .params("sign", "1") @@ -51,7 +51,7 @@ public class SocketLinkMicPkUtil { @Override public void onSuccess(int code, String msgs, String[] info) { if (code == 0) { - HttpClient.getInstance().get("Livepk.setPK", "Livepk.setPK") + HttpClient.getInstance().get("kaishipk", "kaishipk") .params("pkuid", pkUid) .params("type", "1") .params("sign", "1") diff --git a/live/src/main/java/com/yunbao/live/socket/SocketRyLinkMicPkUtil.java b/live/src/main/java/com/yunbao/live/socket/SocketRyLinkMicPkUtil.java index 6049239b0..523ee6447 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketRyLinkMicPkUtil.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketRyLinkMicPkUtil.java @@ -39,7 +39,7 @@ public class SocketRyLinkMicPkUtil { * @param pkUid 对方主播的uid */ public static void linkMicPkAccept(SocketRyClient client, String pkUid, String url, String name) { - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", pkUid) .params("type", "1") @@ -49,7 +49,7 @@ public class SocketRyLinkMicPkUtil { public void onSuccess(int code, String msgs, String[] info) { if (code == 0) { - HttpClient.getInstance().get("Livepk.setPK", "Livepk.setPK") + HttpClient.getInstance().get("kaishipk", "kaishipk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", pkUid) .params("type", "1") diff --git a/live/src/main/java/com/yunbao/live/socket/SocketSwLinkMicPkUtil.java b/live/src/main/java/com/yunbao/live/socket/SocketSwLinkMicPkUtil.java index 34cc7bb6f..3051d196e 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketSwLinkMicPkUtil.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketSwLinkMicPkUtil.java @@ -39,7 +39,7 @@ public class SocketSwLinkMicPkUtil { * @param pkUid 对方主播的uid */ public static void linkMicPkAccept(SocketSwClient client, String pkUid, String url, String name) { - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", pkUid) .params("type", "1") @@ -49,7 +49,7 @@ public class SocketSwLinkMicPkUtil { public void onSuccess(int code, String msgs, String[] info) { if (code == 0) { L.eSw("1111111111111111111111111111"); - HttpClient.getInstance().get("Livepk.setPK", "Livepk.setPK") + HttpClient.getInstance().get("kaishipk", "kaishipk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", pkUid) .params("type", "1") diff --git a/live/src/main/java/com/yunbao/live/views/LivePushRyViewHolder.java b/live/src/main/java/com/yunbao/live/views/LivePushRyViewHolder.java index 169b32dce..273637e22 100644 --- a/live/src/main/java/com/yunbao/live/views/LivePushRyViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LivePushRyViewHolder.java @@ -514,7 +514,7 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX }); - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK") + HttpClient.getInstance().get("jieshupk", "jieshupk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("addtime", "1") .params("type", "1") diff --git a/live/src/main/java/com/yunbao/live/views/LivePushSwViewHolder.java b/live/src/main/java/com/yunbao/live/views/LivePushSwViewHolder.java index 6f1ba0358..22c601190 100644 --- a/live/src/main/java/com/yunbao/live/views/LivePushSwViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LivePushSwViewHolder.java @@ -183,7 +183,7 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX } }); - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK").params("uid", CommonAppConfig.getInstance().getUid()).params("addtime", "1").params("type", "1").params("sign", "1").execute(new HttpCallback() { + HttpClient.getInstance().get("jieshupk", "jieshupk").params("uid", CommonAppConfig.getInstance().getUid()).params("addtime", "1").params("type", "1").params("sign", "1").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0) { @@ -292,7 +292,7 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX swManager.joinChannelEx(CommonAppConfig.getInstance().getUid(), CommonAppConfig.SWToken, u.getId(), SWAuManager.getChannelName(u.getId())); } - HttpClient.getInstance().get("Livepk.changeLive", "Livepk.changeLive") + HttpClient.getInstance().get("xiugaizhiboxinxi", "xiugaizhiboxinxi") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", u.getId()) .params("type", "1") @@ -301,7 +301,7 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX @Override public void onSuccess(int code, String msgs, String[] info) { if (code == 0) { - HttpClient.getInstance().get("Livepk.setPK", "Livepk.setPK") + HttpClient.getInstance().get("kaishipk", "kaishipk") .params("uid", CommonAppConfig.getInstance().getUid()) .params("pkuid", u.getId()) .params("type", "1") diff --git a/live/src/main/java/com/yunbao/live/views/LivePushTxViewHolder.java b/live/src/main/java/com/yunbao/live/views/LivePushTxViewHolder.java index 42a0219f6..f8d47b547 100644 --- a/live/src/main/java/com/yunbao/live/views/LivePushTxViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LivePushTxViewHolder.java @@ -116,7 +116,7 @@ public class LivePushTxViewHolder extends AbsLivePushViewHolder implements ITXLi } }); - HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK") + HttpClient.getInstance().get("jieshupk", "jieshupk") .params("addtime", "00:00") .params("type", "0") .params("sign", "1") diff --git a/main/src/main/java/com/yunbao/main/activity/EntryActivity.java b/main/src/main/java/com/yunbao/main/activity/EntryActivity.java index 11616f404..e78005596 100644 --- a/main/src/main/java/com/yunbao/main/activity/EntryActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/EntryActivity.java @@ -731,7 +731,7 @@ public class EntryActivity extends AppCompatActivity { if (CommonAppConfig.IS_GOOGLE_PLAY == 1 || CommonAppConfig.IS_GOOGLE_PLAY == 2 || CommonAppConfig.IS_GOOGLE_PLAY == 3) { EntryActivity.this.startActivity(new Intent(EntryActivity.this, OneLoginActivity.class)); } else { - HttpClient.getInstance().post("Home.getRandJoinAnchor", "Home.getRandJoinAnchor").execute(new HttpCallback() { + HttpClient.getInstance().post("huoquxinyonghusuijiid", "huoquxinyonghusuijiid").execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (info[0] != null) { diff --git a/main/src/main/java/com/yunbao/main/activity/LoginActivity.java b/main/src/main/java/com/yunbao/main/activity/LoginActivity.java index 1ad1c7c07..7e4c8e0ab 100644 --- a/main/src/main/java/com/yunbao/main/activity/LoginActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/LoginActivity.java @@ -303,7 +303,7 @@ public class LoginActivity extends AbsActivity { public void callback(UserBean bean) { //融云连接服务器 RongcloudIMManager.connectIM(activity); - HttpClient.getInstance().post("Home.getRandJoinAnchor", "Home.getRandJoinAnchor") + HttpClient.getInstance().post("huoquxinyonghusuijiid", "huoquxinyonghusuijiid") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { diff --git a/main/src/main/java/com/yunbao/main/activity/MyWalletActivity.java b/main/src/main/java/com/yunbao/main/activity/MyWalletActivity.java index a89ec5c31..9afd0de94 100644 --- a/main/src/main/java/com/yunbao/main/activity/MyWalletActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MyWalletActivity.java @@ -425,7 +425,7 @@ public class MyWalletActivity extends AbsActivity { @Override protected void onPause() { super.onPause(); - CommonHttpUtil.cancel("Charge.Google_sec_pay"); + CommonHttpUtil.cancel("gugedingdanyanzheng"); if (payHandler != null) { payHandler.removeCallbacks(runnable1); payHandler.removeCallbacks(runnable2); @@ -435,7 +435,7 @@ public class MyWalletActivity extends AbsActivity { @Override protected void onDestroy() { super.onDestroy(); - CommonHttpUtil.cancel("Charge.Google_sec_pay"); + CommonHttpUtil.cancel("gugedingdanyanzheng"); if (payHandler != null) { payHandler.removeCallbacks(runnable1); payHandler.removeCallbacks(runnable2); diff --git a/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java b/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java index 82fcf0718..9d283e89e 100644 --- a/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java @@ -485,7 +485,7 @@ public class RegisterActivity extends AbsActivity { @Override public void run() { IMLoginModel userInfo = IMLoginManager.get(activity).getUserInfo(); - HttpClient.getInstance().post("Home.getRandJoinAnchor", "Home.getRandJoinAnchor").params("uid", userInfo.getId()).params("token", userInfo.getToken()).execute(new HttpCallback() { + HttpClient.getInstance().post("huoquxinyonghusuijiid", "huoquxinyonghusuijiid").params("uid", userInfo.getId()).params("token", userInfo.getToken()).execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (info[0] != null) { diff --git a/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java b/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java index fc6406056..e8615cbb8 100644 --- a/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java +++ b/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java @@ -96,7 +96,7 @@ public class OneLoginDialog extends AbsDialogFragment { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0) { - HttpClient.getInstance().post("Home.getRandJoinAnchor", "Home.getRandJoinAnchor") + HttpClient.getInstance().post("huoquxinyonghusuijiid", "huoquxinyonghusuijiid") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { diff --git a/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java b/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java index eef8e6b27..ea7a65a9e 100644 --- a/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java +++ b/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java @@ -45,7 +45,7 @@ public class MainHttpUtil { * 手机号 密码登录 */ public static void login(String phoneNum, String pwd, String uuid, HttpCallback callback) { - HttpClient.getInstance().get("Login.userLogin", MainHttpConsts.LOGIN) + HttpClient.getInstance().get("huiyuandenglu", MainHttpConsts.LOGIN) .params("user_login", phoneNum) .params("user_pass", pwd) .params("pushid", "") @@ -67,7 +67,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("nicename", nicename) .params("app_source", appSource) @@ -152,7 +152,7 @@ public class MainHttpUtil { * 首页直播 */ public static void getHot(int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getHot", MainHttpConsts.GET_HOT) + HttpClient.getInstance().get("huoquremenzhubo", MainHttpConsts.GET_HOT) .params("p", p) .execute(callback); } @@ -161,7 +161,7 @@ public class MainHttpUtil { * 首页推荐直播 */ public static void getRandom(int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getRandom", MainHttpConsts.GET_RANDOM) + HttpClient.getInstance().get("huoqutuijianzhubo", MainHttpConsts.GET_RANDOM) .execute(callback); } @@ -178,7 +178,7 @@ public class MainHttpUtil { * 首页红包专区 */ public static void getRedPacket(int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.getRedPacket", MainHttpConsts.GET_RANDOM) + HttpClient.getInstance().get("huoquhongbaozhuanquliebiao", MainHttpConsts.GET_RANDOM) .execute(callback); } @@ -205,7 +205,7 @@ public class MainHttpUtil { //排行榜 魅力榜 public static void profitList(String type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.profitList", MainHttpConsts.PROFIT_LIST) + HttpClient.getInstance().get("shouyibangdan", MainHttpConsts.PROFIT_LIST) .params("type", type) .params("p", p) .execute(callback); @@ -213,7 +213,7 @@ public class MainHttpUtil { //排行榜 豪气榜 public static void consumeList(String type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.consumeList", MainHttpConsts.CONSUME_LIST) + HttpClient.getInstance().get("gongxianbangdan", MainHttpConsts.CONSUME_LIST) .params("type", type) .params("p", p) .execute(callback); @@ -222,7 +222,7 @@ public class MainHttpUtil { //排行榜 盲盒榜 public static void blindBoxList(String type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.blindBoxList", MainHttpConsts.BLIND_BOX_LIST) + HttpClient.getInstance().get("manghebangdan", MainHttpConsts.BLIND_BOX_LIST) .params("type", type) .params("p", p) .execute(callback); @@ -233,7 +233,7 @@ public class MainHttpUtil { * 获取谷歌 */ public static void getGoogle(String token, final CommonCallback commonCallback) { - HttpClient.getInstance().get("Charge.getChargeHide", MainHttpConsts.GET_BASE_INFO) + HttpClient.getInstance().get("huoqucongzhijiekouxinxi", MainHttpConsts.GET_BASE_INFO) .params("terminal", "1") .params("token", token) .execute(new HttpCallback() { @@ -348,7 +348,7 @@ public class MainHttpUtil { * 搜索 */ public static void search(String key, int type, int p, HttpCallback callback) { - HttpClient.getInstance().get("Home.search", MainHttpConsts.SEARCH) + HttpClient.getInstance().get("shouyesousuohuiyuan", MainHttpConsts.SEARCH) .params("key", key) .params("type", type) .params("p", p) @@ -513,7 +513,7 @@ public class MainHttpUtil { */ public static void getRegisterCode(String mobile, HttpCallback callback) { String sign = MD5Util.getMD5("mobile=" + mobile + "&" + SALT); - HttpClient.getInstance().get("Login.getCode", MainHttpConsts.GET_REGISTER_CODE) + HttpClient.getInstance().get("huoquduanxiyanzhengma", MainHttpConsts.GET_REGISTER_CODE) .params("mobile", mobile) .params("sign", sign) .params("source", "1") @@ -531,7 +531,7 @@ public class MainHttpUtil { MacUitl macUitl = new MacUitl(); String uuid = DeviceUtils.getUniqueDeviceId(); - HttpClient.getInstance().get("Login.getCode", MainHttpConsts.GET_REGISTER_CODE) + HttpClient.getInstance().get("huoquduanxiyanzhengma", MainHttpConsts.GET_REGISTER_CODE) .params("mobile", mobile) .params("country_code", countryCode + "") .params("sign", sign) @@ -563,7 +563,7 @@ public class MainHttpUtil { * 修改绑定手机号 */ public static void updateBindMobile(String mobile, int countryCode, String uid, String token, String code, HttpCallback callback) { - HttpClient.getInstance().get("Login.updateBindMobile", MainHttpConsts.UPDATEBINDMOBILE) + HttpClient.getInstance().get("genghuanshoujihao", MainHttpConsts.UPDATEBINDMOBILE) .params("mobile", mobile) .params("country_code", countryCode + "") .params("uid", uid, true) @@ -645,7 +645,7 @@ public class MainHttpUtil { */ public static void getFindPwdCode(String mobile, String country_code, HttpCallback callback) { // String sign = MD5Util.getMD5("mobile=" + mobile + "&" + SALT); - HttpClient.getInstance().get("Login.getCode", MainHttpConsts.GET_FIND_PWD_CODE) + HttpClient.getInstance().get("huoquduanxiyanzhengma", MainHttpConsts.GET_FIND_PWD_CODE) .params("mobile", mobile) .params("country_code", country_code) .params("source", "1") @@ -658,7 +658,7 @@ public class MainHttpUtil { * 三级分销页面 获取二维码 */ public static void getQrCode(HttpCallback callback) { - HttpClient.getInstance().get("Agent.getCode", MainHttpConsts.GET_QR_CODE) + HttpClient.getInstance().get("huoqufenxiangxinxi", MainHttpConsts.GET_QR_CODE) .params("source", "1") .execute(callback); } @@ -668,7 +668,7 @@ public class MainHttpUtil { * 首页的排行榜轮播 */ public static void getHomeTop(HttpCallback callback) { - HttpClient.getInstance().get("Home.consumeproList", MainHttpConsts.HOME_TOP) + HttpClient.getInstance().get("gongxianzhoubang", MainHttpConsts.HOME_TOP) .params("type", "month") .params("p", "1") .execute(callback); @@ -678,7 +678,7 @@ public class MainHttpUtil { * 动态赠送礼物 */ public static void sendDynamicGift(String id, int gift_num, String gift_id, HttpCallback callback) { - HttpClient.getInstance().get("Community.sendDynamicGift", MainHttpConsts.SEND_DYNAMICGIFT) + HttpClient.getInstance().get("zengsongdongtailiwu", MainHttpConsts.SEND_DYNAMICGIFT) .params("dynamic_id", id) .params("gift_num", gift_num) .params("gift_id", gift_id) @@ -689,7 +689,7 @@ public class MainHttpUtil { * 动态赠送礼物列表 */ public static void getDynamicGiftInfo(HttpCallback callback) { - HttpClient.getInstance().get("Community.getDynamicGiftInfo", MainHttpConsts.GET_DYNAMICGIFTINFO) + HttpClient.getInstance().get("huoqushequdongtailiwuxinxi", MainHttpConsts.GET_DYNAMICGIFTINFO) .execute(callback); } @@ -697,7 +697,7 @@ public class MainHttpUtil { * 社区动态礼物信息列表 */ public static void getDynamicSendGiftList(String id, int page, HttpCallback callback) { - HttpClient.getInstance().get("Community.getDynamicSendGiftList", MainHttpConsts.GET_DYNAMICSENDGIFTLIST) + HttpClient.getInstance().get("huoqushequdongtailiwuliebiao", MainHttpConsts.GET_DYNAMICSENDGIFTLIST) .params("dynamic_id", id) .params("page", page) .execute(callback); @@ -725,7 +725,7 @@ public class MainHttpUtil { * 客服地址 */ public static void getCustomerService(HttpCallback callback) { - HttpClient.getInstance().get("Home.getCustomerService", MainHttpConsts.GETCUSTOMERSERVICE) + HttpClient.getInstance().get("huoqudengluyekefu", MainHttpConsts.GETCUSTOMERSERVICE) .execute(callback); } @@ -770,7 +770,7 @@ public class MainHttpUtil { * 订单通知 */ public static void hwNotify(String InAppPurchaseData, String Signature, String orderId, HttpCallback callback) { - HttpClient.getInstance().get("Charge.HuaweiNotify", "Charge.HuaweiNotify") + HttpClient.getInstance().get("huaweizhifuhuidiao", "huaweizhifuhuidiao") .params("InAppPurchaseData", InAppPurchaseData) .params("InAppDataSignature", Signature) .params("SelfOrderId", orderId)