LiveHttpUtil 替换全部接口地址 为新的部分未找到的先未做处理

This commit is contained in:
ningwenqiang 2024-10-24 16:14:33 +08:00
parent e6b12fad24
commit 558c1c0d5a
2 changed files with 92 additions and 91 deletions

View File

@ -420,7 +420,7 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
-ignorewarnings -ignorewarnings
# End of content from D:\AndroidProject\pandorapan\app\proguard-rules.pro # End of content from D:\AndroidProject\pandorapan\app\proguard-rules.pro
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\app\build\intermediates\aapt_proguard_file\link_testRelease\processLink_testReleaseResources\aapt_rules.txt # The proguard configuration file for the following section is D:\AndroidProject\pandorapan\app\build\intermediates\aapt_proguard_file\link_onlineRelease\processLink_onlineReleaseResources\aapt_rules.txt
-keep class androidx.core.app.CoreComponentFactory { <init>(); } -keep class androidx.core.app.CoreComponentFactory { <init>(); }
-keep class androidx.core.content.FileProvider { <init>(); } -keep class androidx.core.content.FileProvider { <init>(); }
-keep class androidx.core.content.FileProvider4Utils { <init>(); } -keep class androidx.core.content.FileProvider4Utils { <init>(); }
@ -1093,10 +1093,10 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
-keepclassmembers class * { *** videoEditClick(android.view.View); } -keepclassmembers class * { *** videoEditClick(android.view.View); }
# End of content from D:\AndroidProject\pandorapan\app\build\intermediates\aapt_proguard_file\link_testRelease\processLink_testReleaseResources\aapt_rules.txt # End of content from D:\AndroidProject\pandorapan\app\build\intermediates\aapt_proguard_file\link_onlineRelease\processLink_onlineReleaseResources\aapt_rules.txt
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\lib_faceunity\build\intermediates\consumer_proguard_dir\link_testRelease\exportLink_testReleaseConsumerProguardFiles\lib0\proguard.txt # The proguard configuration file for the following section is D:\AndroidProject\pandorapan\lib_faceunity\build\intermediates\consumer_proguard_dir\link_onlineRelease\exportLink_onlineReleaseConsumerProguardFiles\lib0\proguard.txt
# End of content from D:\AndroidProject\pandorapan\lib_faceunity\build\intermediates\consumer_proguard_dir\link_testRelease\exportLink_testReleaseConsumerProguardFiles\lib0\proguard.txt # End of content from D:\AndroidProject\pandorapan\lib_faceunity\build\intermediates\consumer_proguard_dir\link_onlineRelease\exportLink_onlineReleaseConsumerProguardFiles\lib0\proguard.txt
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\8d3e3177c15403546de73d87508067d6\transformed\jetified-XPopup-2.10.0\proguard.txt # The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\8d3e3177c15403546de73d87508067d6\transformed\jetified-XPopup-2.10.0\proguard.txt
# Generated keep rule for Lifecycle observer adapter. # Generated keep rule for Lifecycle observer adapter.
-if class com.lxj.xpopup.core.BasePopupView { -if class com.lxj.xpopup.core.BasePopupView {
@ -1156,9 +1156,9 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
# End of content from C:\Users\CVB88\.gradle\caches\transforms-3\a1df9a6aa192455030f7c9970b70e0e9\transformed\material-1.4.0\proguard.txt # End of content from C:\Users\CVB88\.gradle\caches\transforms-3\a1df9a6aa192455030f7c9970b70e0e9\transformed\material-1.4.0\proguard.txt
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\lib_google\build\intermediates\consumer_proguard_dir\link_testRelease\exportLink_testReleaseConsumerProguardFiles\lib0\proguard.txt # The proguard configuration file for the following section is D:\AndroidProject\pandorapan\lib_google\build\intermediates\consumer_proguard_dir\link_onlineRelease\exportLink_onlineReleaseConsumerProguardFiles\lib0\proguard.txt
# End of content from D:\AndroidProject\pandorapan\lib_google\build\intermediates\consumer_proguard_dir\link_testRelease\exportLink_testReleaseConsumerProguardFiles\lib0\proguard.txt # End of content from D:\AndroidProject\pandorapan\lib_google\build\intermediates\consumer_proguard_dir\link_onlineRelease\exportLink_onlineReleaseConsumerProguardFiles\lib0\proguard.txt
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\2929985d9627ba3bb45a0ebd18eaf9d3\transformed\jetified-linesdk-5.0.1\proguard.txt # The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\2929985d9627ba3bb45a0ebd18eaf9d3\transformed\jetified-linesdk-5.0.1\proguard.txt
-keepattributes *Annotation* -keepattributes *Annotation*

View File

@ -35,7 +35,7 @@ public class LiveHttpUtil {
* 获取当前直播间的用户列表 * 获取当前直播间的用户列表
*/ */
public static void getUserList(String liveuid, String stream, String type, int p, HttpCallback callback) { 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("ylazhibojianyonghuliebiao", LiveHttpConsts.GET_USER_LIST)
.params("liveuid", liveuid) .params("liveuid", liveuid)
.params("stream", stream) .params("stream", stream)
.params("type", type) .params("type", type)
@ -51,7 +51,7 @@ public class LiveHttpUtil {
* @param callback 回调 * @param callback 回调
*/ */
public static void getUserRankList(String liveUid, HttpCallback callback) { public static void getUserRankList(String liveUid, HttpCallback callback) {
HttpClient.getInstance().get("Contribute.index", LiveHttpConsts.GET_USER_LIST) HttpClient.getInstance().get("ylaxiaofeitongji", LiveHttpConsts.GET_USER_LIST)
.params("uid", liveUid) .params("uid", liveUid)
.execute(callback); .execute(callback);
} }
@ -60,7 +60,7 @@ public class LiveHttpUtil {
* 获取当前直播间的连麦用户列表 * 获取当前直播间的连麦用户列表
*/ */
public static void getMicList(String liveuid, int p, HttpCallback callback) { public static void getMicList(String liveuid, int p, HttpCallback callback) {
HttpClient.getInstance().get("Live.getDrLm", "Live.getDrLm") HttpClient.getInstance().get("ylahuoqulianmaizhuangtai", "Live.getDrLm")
.params("uid", liveuid, true) .params("uid", liveuid, true)
.execute(callback); .execute(callback);
} }
@ -69,7 +69,7 @@ public class LiveHttpUtil {
* 获取活动列表 * 获取活动列表
*/ */
public static void getHDList(HttpCallback callback) { public static void getHDList(HttpCallback callback) {
HttpClient.getInstance().get("Active.getActiveList", "Active.getActiveList") HttpClient.getInstance().get("ylahuoquhuodongliebiao", "Active.getActiveList")
.execute(callback); .execute(callback);
} }
@ -80,7 +80,7 @@ public class LiveHttpUtil {
* @param stream 主播的stream * @param stream 主播的stream
*/ */
public static void roomCharge(String liveUid, String stream, HttpCallback callback) { public static void roomCharge(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Live.roomCharge", LiveHttpConsts.ROOM_CHARGE) HttpClient.getInstance().get("ylafangjiankoufei", LiveHttpConsts.ROOM_CHARGE)
.params("stream", stream) .params("stream", stream)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.execute(callback); .execute(callback);
@ -94,7 +94,7 @@ public class LiveHttpUtil {
* @param stream 主播的stream * @param stream 主播的stream
*/ */
public static void timeCharge(String liveUid, String stream, HttpCallback callback) { public static void timeCharge(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Live.timeCharge", LiveHttpConsts.TIME_CHARGE) HttpClient.getInstance().get("ylafangjianjishikoufei", LiveHttpConsts.TIME_CHARGE)
.params("stream", stream) .params("stream", stream)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.execute(callback); .execute(callback);
@ -105,7 +105,7 @@ public class LiveHttpUtil {
* 获取用户余额 * 获取用户余额
*/ */
public static void getCoin(HttpCallback callback) { public static void getCoin(HttpCallback callback) {
HttpClient.getInstance().get("Live.getCoin", LiveHttpConsts.GET_COIN) HttpClient.getInstance().get("ylazhibojianhuoquyonghuyue", LiveHttpConsts.GET_COIN)
.execute(callback); .execute(callback);
} }
@ -115,7 +115,7 @@ public class LiveHttpUtil {
* @param touid 对方的uid * @param touid 对方的uid
*/ */
public static void getLiveRecord(String touid, int p, HttpCallback callback) { public static void getLiveRecord(String touid, int p, HttpCallback callback) {
HttpClient.getInstance().get("User.getLiverecord", LiveHttpConsts.GET_LIVE_RECORD) HttpClient.getInstance().get("ylahuoquzhibojilu", LiveHttpConsts.GET_LIVE_RECORD)
.params("touid", touid) .params("touid", touid)
.params("p", p) .params("p", p)
.execute(callback); .execute(callback);
@ -127,7 +127,7 @@ public class LiveHttpUtil {
* @param recordId 视频的id * @param recordId 视频的id
*/ */
public static void getAliCdnRecord(String recordId, HttpCallback callback) { public static void getAliCdnRecord(String recordId, HttpCallback callback) {
HttpClient.getInstance().get("User.getAliCdnRecord", LiveHttpConsts.GET_ALI_CDN_RECORD) HttpClient.getInstance().get("ylahuoqulubojilu", LiveHttpConsts.GET_ALI_CDN_RECORD)
.params("id", recordId) .params("id", recordId)
.execute(callback); .execute(callback);
} }
@ -137,7 +137,7 @@ public class LiveHttpUtil {
* 获取主播印象列表 * 获取主播印象列表
*/ */
public static void getAllImpress(String touid, HttpCallback callback) { public static void getAllImpress(String touid, HttpCallback callback) {
HttpClient.getInstance().get("User.getUserLabel", LiveHttpConsts.GET_ALL_IMPRESS) HttpClient.getInstance().get("ylahuoquyonghuyingxiangbiaoqian", LiveHttpConsts.GET_ALL_IMPRESS)
.params("touid", touid) .params("touid", touid)
.execute(callback); .execute(callback);
} }
@ -146,7 +146,7 @@ public class LiveHttpUtil {
* 给主播设置印象 * 给主播设置印象
*/ */
public static void setImpress(String touid, String ImpressIDs, HttpCallback callback) { public static void setImpress(String touid, String ImpressIDs, HttpCallback callback) {
HttpClient.getInstance().get("User.setUserLabel", LiveHttpConsts.SET_IMPRESS) HttpClient.getInstance().get("ylashezhiyonghuyingxiangbiaoqian", LiveHttpConsts.SET_IMPRESS)
.params("touid", touid) .params("touid", touid)
.params("labels", ImpressIDs) .params("labels", ImpressIDs)
.execute(callback); .execute(callback);
@ -157,7 +157,7 @@ public class LiveHttpUtil {
* 获取当前直播间的管理员列表 * 获取当前直播间的管理员列表
*/ */
public static void getAdminList(String liveUid, HttpCallback callback) { public static void getAdminList(String liveUid, HttpCallback callback) {
HttpClient.getInstance().get("Live.getAdminList", LiveHttpConsts.GET_ADMIN_LIST) HttpClient.getInstance().get("ylahuoquguanliyuanliebiao", LiveHttpConsts.GET_ADMIN_LIST)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.execute(callback); .execute(callback);
} }
@ -166,7 +166,7 @@ public class LiveHttpUtil {
* 主播设置或取消直播间的管理员 * 主播设置或取消直播间的管理员
*/ */
public static void setAdmin(String liveUid, String touid, HttpCallback callback) { public static void setAdmin(String liveUid, String touid, HttpCallback callback) {
HttpClient.getInstance().get("Live.setAdmin", LiveHttpConsts.SET_ADMIN) HttpClient.getInstance().get("ylashezhiguanliyuanzhuangtai", LiveHttpConsts.SET_ADMIN)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("touid", touid) .params("touid", touid)
.execute(callback); .execute(callback);
@ -176,7 +176,7 @@ public class LiveHttpUtil {
* 获取直播间的禁言列表 * 获取直播间的禁言列表
*/ */
public static void getLiveShutUpList(String liveUid, int p, HttpCallback callback) { public static void getLiveShutUpList(String liveUid, int p, HttpCallback callback) {
HttpClient.getInstance().get("Livemanage.getShutList", LiveHttpConsts.GET_LIVE_SHUT_UP_LIST) HttpClient.getInstance().get("ylajinyanyonghu", LiveHttpConsts.GET_LIVE_SHUT_UP_LIST)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("p", p) .params("p", p)
.execute(callback); .execute(callback);
@ -186,7 +186,7 @@ public class LiveHttpUtil {
* 直播间解除禁言 * 直播间解除禁言
*/ */
public static void liveCancelShutUp(String liveUid, String toUid, HttpCallback callback) { public static void liveCancelShutUp(String liveUid, String toUid, HttpCallback callback) {
HttpClient.getInstance().get("Livemanage.cancelShut", LiveHttpConsts.LIVE_CANCEL_SHUT_UP) HttpClient.getInstance().get("ylajiechujinyan", LiveHttpConsts.LIVE_CANCEL_SHUT_UP)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("touid", toUid) .params("touid", toUid)
.execute(callback); .execute(callback);
@ -196,7 +196,7 @@ public class LiveHttpUtil {
* 获取直播间的拉黑列表 * 获取直播间的拉黑列表
*/ */
public static void getLiveBlackList(String liveUid, int p, HttpCallback callback) { public static void getLiveBlackList(String liveUid, int p, HttpCallback callback) {
HttpClient.getInstance().get("Livemanage.getKickList", LiveHttpConsts.GET_LIVE_BLACK_LIST) HttpClient.getInstance().get("ylatichuyonghu", LiveHttpConsts.GET_LIVE_BLACK_LIST)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("p", p) .params("p", p)
.execute(callback); .execute(callback);
@ -206,7 +206,7 @@ public class LiveHttpUtil {
* 直播间解除拉黑 * 直播间解除拉黑
*/ */
public static void liveCancelBlack(String liveUid, String toUid, HttpCallback callback) { public static void liveCancelBlack(String liveUid, String toUid, HttpCallback callback) {
HttpClient.getInstance().get("Livemanage.cancelKick", LiveHttpConsts.LIVE_CANCEL_BLACK) HttpClient.getInstance().get("ylajiechutichu", LiveHttpConsts.LIVE_CANCEL_BLACK)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("touid", toUid) .params("touid", toUid)
.execute(callback); .execute(callback);
@ -217,7 +217,7 @@ public class LiveHttpUtil {
* 直播结束后获取直播收益观看人数时长等信息 * 直播结束后获取直播收益观看人数时长等信息
*/ */
public static void getLiveEndInfo(String stream, HttpCallback callback) { public static void getLiveEndInfo(String stream, HttpCallback callback) {
HttpClient.getInstance().get("Live.stopInfo", LiveHttpConsts.GET_LIVE_END_INFO) HttpClient.getInstance().get("ylazhibojieshuxinxi", LiveHttpConsts.GET_LIVE_END_INFO)
.params("stream", stream) .params("stream", stream)
.execute(callback); .execute(callback);
} }
@ -226,7 +226,7 @@ public class LiveHttpUtil {
* 获取直播间举报内容列表 * 获取直播间举报内容列表
*/ */
public static void getLiveReportList(HttpCallback callback) { public static void getLiveReportList(HttpCallback callback) {
HttpClient.getInstance().get("Live.getReportClass", LiveHttpConsts.GET_LIVE_REPORT_LIST) HttpClient.getInstance().get("ylahuoqujubaopeizhixinxi", LiveHttpConsts.GET_LIVE_REPORT_LIST)
.execute(callback); .execute(callback);
} }
@ -234,7 +234,7 @@ public class LiveHttpUtil {
* 举报用户 * 举报用户
*/ */
public static void setReport(String touid, String content, HttpCallback callback) { public static void setReport(String touid, String content, HttpCallback callback) {
HttpClient.getInstance().get("Live.setReport", LiveHttpConsts.SET_REPORT) HttpClient.getInstance().get("ylayonghujubao", LiveHttpConsts.SET_REPORT)
.params("touid", touid) .params("touid", touid)
.params("content", content) .params("content", content)
.execute(callback); .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) { public static void setReport(String touid,String report_argument, String content, File file1, File file2, File file3, String videoId, HttpCallback callback) {
PostRequest<JsonBean> request = HttpClient.getInstance().post("Live.setReport", LiveHttpConsts.SET_REPORT) PostRequest<JsonBean> request = HttpClient.getInstance().post("ylayonghujubao", LiveHttpConsts.SET_REPORT)
.isMultipart(true) .isMultipart(true)
.params("touid", touid) .params("touid", touid)
.params("report_argument", report_argument) .params("report_argument", report_argument)
@ -268,7 +268,7 @@ public class LiveHttpUtil {
* 直播间点击聊天列表和头像出现的弹窗 * 直播间点击聊天列表和头像出现的弹窗
*/ */
public static void getLiveUser(String touid, String liveUid, HttpCallback callback) { public static void getLiveUser(String touid, String liveUid, HttpCallback callback) {
HttpClient.getInstance().get("Live.getPop", LiveHttpConsts.GET_LIVE_USER) HttpClient.getInstance().get("ylazhibojiantanchuangxinxi", LiveHttpConsts.GET_LIVE_USER)
.params("touid", touid) .params("touid", touid)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.execute(callback); .execute(callback);
@ -278,7 +278,7 @@ public class LiveHttpUtil {
* 主播或管理员踢人 * 主播或管理员踢人
*/ */
public static void kicking(String liveUid, String touid, HttpCallback callback) { public static void kicking(String liveUid, String touid, HttpCallback callback) {
HttpClient.getInstance().get("Live.kicking", LiveHttpConsts.KICKING) HttpClient.getInstance().get("ylazhibojiantiren", LiveHttpConsts.KICKING)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("touid", touid) .params("touid", touid)
.execute(callback); .execute(callback);
@ -294,7 +294,7 @@ public class LiveHttpUtil {
* @param time 禁言时间 * @param time 禁言时间
*/ */
public static void setShutUp(String liveUid, String stream, int type, String touid, String time, HttpCallback callback) { public static void setShutUp(String liveUid, String stream, int type, String touid, String time, HttpCallback callback) {
GetRequest<JsonBean> request = HttpClient.getInstance().get("Live.setShutUp", LiveHttpConsts.SET_SHUT_UP) GetRequest<JsonBean> request = HttpClient.getInstance().get("ylazhibojianjinyan", LiveHttpConsts.SET_SHUT_UP)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
.params("type", type) .params("type", type)
@ -312,7 +312,7 @@ public class LiveHttpUtil {
* @param type 0表示关闭当前直播 1表示禁播2表示封禁账号 * @param type 0表示关闭当前直播 1表示禁播2表示封禁账号
*/ */
public static void superCloseRoom(String liveUid, int type, HttpCallback callback) { public static void superCloseRoom(String liveUid, int type, HttpCallback callback) {
HttpClient.getInstance().get("Live.superStopRoom", LiveHttpConsts.SUPER_CLOSE_ROOM) HttpClient.getInstance().get("ylachaoguanguanbo", LiveHttpConsts.SUPER_CLOSE_ROOM)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("type", type) .params("type", type)
.execute(callback); .execute(callback);
@ -323,7 +323,7 @@ public class LiveHttpUtil {
* 守护商品类型列表 * 守护商品类型列表
*/ */
public static void getGuardBuyList(HttpCallback callback) { public static void getGuardBuyList(HttpCallback callback) {
HttpClient.getInstance().get("Guard.getList", LiveHttpConsts.GET_GUARD_BUY_LIST) HttpClient.getInstance().get("ylashouhuliebiaov2", LiveHttpConsts.GET_GUARD_BUY_LIST)
.execute(callback); .execute(callback);
} }
@ -331,7 +331,7 @@ public class LiveHttpUtil {
* 购买守护接口 * 购买守护接口
*/ */
public static void buyGuard(String liveUid, String stream, int guardId, int cid, HttpCallback callback) { public static void buyGuard(String liveUid, String stream, int guardId, int cid, HttpCallback callback) {
GetRequest<JsonBean> request = HttpClient.getInstance().get("Guard.buyGuard", LiveHttpConsts.BUY_GUARD) GetRequest<JsonBean> request = HttpClient.getInstance().get("ylagoumaishouhu", LiveHttpConsts.BUY_GUARD)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
.params("guardid", guardId); .params("guardid", guardId);
@ -347,14 +347,14 @@ public class LiveHttpUtil {
* 查看主播的守护列表 * 查看主播的守护列表
*/ */
public static void getGuardList(String liveUid, int p, HttpCallback callback) { public static void getGuardList(String liveUid, int p, HttpCallback callback) {
HttpClient.getInstance().get("Guard.getGuardList", LiveHttpConsts.GET_GUARD_LIST) HttpClient.getInstance().get("ylashouhuliebiao", LiveHttpConsts.GET_GUARD_LIST)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("p", p) .params("p", p)
.execute(callback); .execute(callback);
} }
public static void getContactMsg(int page, HttpCallback callback) { public static void getContactMsg(int page, HttpCallback callback) {
HttpClient.getInstance().get("Live.getContactMsg", "getContactMsg") HttpClient.getInstance().get("ylahuoqulianxifangshixiaoxi", "getContactMsg")
.params("p", page) .params("p", page)
.execute(callback); .execute(callback);
} }
@ -363,7 +363,7 @@ public class LiveHttpUtil {
* 观众跟主播连麦时获取自己的流地址 * 观众跟主播连麦时获取自己的流地址
*/ */
public static void getLinkMicStream(HttpCallback callback) { public static void getLinkMicStream(HttpCallback callback) {
HttpClient.getInstance().get("Linkmic.requestLVBAddrForLinkMic", LiveHttpConsts.GET_LINK_MIC_STREAM) HttpClient.getInstance().get("ylalianmaituilaliudizhi", LiveHttpConsts.GET_LINK_MIC_STREAM)
.execute(callback); .execute(callback);
} }
@ -374,7 +374,7 @@ public class LiveHttpUtil {
* @param pull_url 连麦用户播流地址 * @param pull_url 连麦用户播流地址
*/ */
public static void linkMicShowVideo(String touid, String pull_url) { public static void linkMicShowVideo(String touid, String pull_url) {
HttpClient.getInstance().get("Live.showVideo", LiveHttpConsts.LINK_MIC_SHOW_VIDEO) HttpClient.getInstance().get("ylalianmaixinxi", LiveHttpConsts.LINK_MIC_SHOW_VIDEO)
.params("liveuid", CommonAppConfig.getInstance().getUid()) .params("liveuid", CommonAppConfig.getInstance().getUid())
.params("touid", touid) .params("touid", touid)
.params("pull_url", pull_url) .params("pull_url", pull_url)
@ -390,7 +390,7 @@ public class LiveHttpUtil {
* 主播设置是否允许观众发起连麦 * 主播设置是否允许观众发起连麦
*/ */
public static void setLinkMicEnable(boolean linkMicEnable, HttpCallback callback) { public static void setLinkMicEnable(boolean linkMicEnable, HttpCallback callback) {
HttpClient.getInstance().get("Linkmic.setMic", LiveHttpConsts.SET_LINK_MIC_ENABLE) HttpClient.getInstance().get("ylashezhilianmaikaiguan", LiveHttpConsts.SET_LINK_MIC_ENABLE)
.params("ismic", linkMicEnable ? 1 : 0) .params("ismic", linkMicEnable ? 1 : 0)
.execute(callback); .execute(callback);
} }
@ -400,7 +400,7 @@ public class LiveHttpUtil {
* 观众检查主播是否允许连麦 * 观众检查主播是否允许连麦
*/ */
public static void checkLinkMicEnable(String liveUid, HttpCallback callback) { public static void checkLinkMicEnable(String liveUid, HttpCallback callback) {
HttpClient.getInstance().get("Linkmic.isMic", LiveHttpConsts.CHECK_LINK_MIC_ENABLE) HttpClient.getInstance().get("ylapanduanzhubaoshifoukaiqilianmai", LiveHttpConsts.CHECK_LINK_MIC_ENABLE)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.execute(callback); .execute(callback);
} }
@ -409,7 +409,7 @@ public class LiveHttpUtil {
* 连麦pk检查对方主播在线状态 * 连麦pk检查对方主播在线状态
*/ */
public static void livePkCheckLive(String liveUid, String stream, String uidStream, HttpCallback callback) { public static void livePkCheckLive(String liveUid, String stream, String uidStream, HttpCallback callback) {
HttpClient.getInstance().get("Home.getisPk", "Home.getisPk") HttpClient.getInstance().get("ylahuoqupkzhuangtai", "Home.getisPk")
.params("uid", liveUid, true) .params("uid", liveUid, true)
// .params("token", CommonAppConfig.getInstance().getToken()) // .params("token", CommonAppConfig.getInstance().getToken())
// .params("liveuid", liveUid) // .params("liveuid", liveUid)
@ -420,6 +420,7 @@ public class LiveHttpUtil {
/** /**
* 直播间发红包 * 直播间发红包
* TODO 这个没找到
*/ */
public static void sendRedPack(String stream, String coin, String count, String title, int type, int sendType, HttpCallback callback) { public static void sendRedPack(String stream, String coin, String count, String title, int type, int sendType, HttpCallback callback) {
HttpClient.getInstance().get("Red.SendRed", LiveHttpConsts.SEND_RED_PACK) HttpClient.getInstance().get("Red.SendRed", LiveHttpConsts.SEND_RED_PACK)
@ -474,7 +475,7 @@ public class LiveHttpUtil {
* 发送弹幕 * 发送弹幕
*/ */
public static void sendDanmu(String content, String liveUid, String stream, HttpCallback callback) { public static void sendDanmu(String content, String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Live.sendBarrage", LiveHttpConsts.SEND_DANMU) HttpClient.getInstance().get("ylafasongdanmu", LiveHttpConsts.SEND_DANMU)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
.params("giftid", "1") .params("giftid", "1")
@ -490,7 +491,7 @@ public class LiveHttpUtil {
* @param stream 主播的stream * @param stream 主播的stream
*/ */
public static void checkLive(String liveUid, String stream, HttpCallback callback) { public static void checkLive(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Live.checkLive", LiveHttpConsts.CHECK_LIVE) HttpClient.getInstance().get("ylajiancefangjiangzhuangtai", LiveHttpConsts.CHECK_LIVE)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
.execute(callback); .execute(callback);
@ -501,7 +502,7 @@ public class LiveHttpUtil {
* 观众进入直播间 * 观众进入直播间
*/ */
public static void enterRoom(String liveUid, String stream, HttpCallback callback) { public static void enterRoom(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Live.enterRoom", LiveHttpConsts.ENTER_ROOM) HttpClient.getInstance().get("ylajinruzhibojian", LiveHttpConsts.ENTER_ROOM)
.params("city", CommonAppConfig.getInstance().getCity()) .params("city", CommonAppConfig.getInstance().getCity())
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
@ -512,7 +513,7 @@ public class LiveHttpUtil {
* 观众进入直播间后还要请求一次 * 观众进入直播间后还要请求一次
*/ */
public static void enterBackRoom(String liveUid, String stream, HttpCallback callback) { public static void enterBackRoom(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Tx.userjoinroom", "Tx.userjoinroom") HttpClient.getInstance().get("ylaxinbanyonghujiarufangjian", "Tx.userjoinroom")
.params("GroupId", "g" + liveUid) .params("GroupId", "g" + liveUid)
.params("stream", stream) .params("stream", stream)
.execute(callback); .execute(callback);
@ -532,7 +533,7 @@ public class LiveHttpUtil {
* 获取礼物列表同时会返回剩余的钱 * 获取礼物列表同时会返回剩余的钱
*/ */
public static void getGiftList(HttpCallback callback) { public static void getGiftList(HttpCallback callback) {
HttpClient.getInstance().get("Live.getGiftList", LiveHttpConsts.GET_GIFT_LIST) HttpClient.getInstance().get("ylazhibojianliwuxinxi", LiveHttpConsts.GET_GIFT_LIST)
.execute(callback); .execute(callback);
} }
@ -540,14 +541,14 @@ public class LiveHttpUtil {
* 获取礼物列表同时会返回剩余的钱新版 * 获取礼物列表同时会返回剩余的钱新版
*/ */
public static void getNewGiftList(HttpCallback callback) { public static void getNewGiftList(HttpCallback callback) {
HttpClient.getInstance().get("Live.getGiftListApp", LiveHttpConsts.GET_GIFT_LIST) HttpClient.getInstance().get("ylazhibojianliwuxinxi", LiveHttpConsts.GET_GIFT_LIST)
.execute(callback); .execute(callback);
} }
/** /**
* 获取礼物列表同时会返回剩余的钱新版 -用于获取联系方式时的礼物设置 * 获取礼物列表同时会返回剩余的钱新版 -用于获取联系方式时的礼物设置
*/ */
public static void getHotGiftList(HttpCallback callback) { public static void getHotGiftList(HttpCallback callback) {
HttpClient.getInstance().get("Gift.getHotGiftList", LiveHttpConsts.GET_GIFT_LIST) HttpClient.getInstance().get("ylahuoqusuoyouremenliwu", LiveHttpConsts.GET_GIFT_LIST)
.execute(callback); .execute(callback);
} }
@ -555,7 +556,7 @@ public class LiveHttpUtil {
* 获取包裹列表 * 获取包裹列表
*/ */
public static void getWrapList(HttpCallback callback) { public static void getWrapList(HttpCallback callback) {
HttpClient.getInstance().get("Live.getPackList", LiveHttpConsts.GET_WRAP_LIST) HttpClient.getInstance().get("ylazhibojianbaoguoxinxi", LiveHttpConsts.GET_WRAP_LIST)
.execute(callback); .execute(callback);
} }
@ -563,7 +564,7 @@ public class LiveHttpUtil {
* 主播获取心愿单列表 * 主播获取心愿单列表
*/ */
public static void getWishList(HttpCallback callback) { public static void getWishList(HttpCallback callback) {
HttpClient.getInstance().get("Guide.getWishlist", LiveHttpConsts.GET_WISH_LIST) HttpClient.getInstance().get("ylahuoquxinyuandan", LiveHttpConsts.GET_WISH_LIST)
.execute(callback); .execute(callback);
} }
@ -571,7 +572,7 @@ public class LiveHttpUtil {
* 用户获取主播的心愿单列表 * 用户获取主播的心愿单列表
*/ */
public static void getWishList(String liveId, HttpCallback callback) { public static void getWishList(String liveId, HttpCallback callback) {
HttpClient.getInstance().get("Guide.getWishlist", LiveHttpConsts.GET_WISH_LIST) HttpClient.getInstance().get("ylahuoquxinyuandanpeizhi", LiveHttpConsts.GET_WISH_LIST)
.params("uid", liveId, true) .params("uid", liveId, true)
.execute(callback); .execute(callback);
} }
@ -582,7 +583,7 @@ public class LiveHttpUtil {
* @param callback * @param callback
*/ */
public static void getFrontTask(HttpCallback callback) { public static void getFrontTask(HttpCallback callback) {
HttpClient.getInstance().get("User.getFrontTask", "User.getFrontTask") HttpClient.getInstance().get("ylahuoquxinshouyindaozhuangtai", "User.getFrontTask")
.execute(callback); .execute(callback);
} }
@ -592,7 +593,7 @@ public class LiveHttpUtil {
* @param callback * @param callback
*/ */
public static void getFrontTask(String Token, String uid, HttpCallback callback) { public static void getFrontTask(String Token, String uid, HttpCallback callback) {
HttpClient.getInstance().get("User.getFrontTask", "User.getFrontTask") HttpClient.getInstance().get("ylahuoquxinshouyindaozhuangtai", "User.getFrontTask")
.params("token", Token, true) .params("token", Token, true)
.params("uid", uid, true) .params("uid", uid, true)
.execute(callback); .execute(callback);
@ -602,7 +603,7 @@ public class LiveHttpUtil {
* 完成新手任務 * 完成新手任務
*/ */
public static void setFrontTask(String type, HttpCallback callback) { public static void setFrontTask(String type, HttpCallback callback) {
HttpClient.getInstance().get("User.setFrontTask", "User.setFrontTask") HttpClient.getInstance().get("ylahuoquxinshouyindaozhuangtai", "User.setFrontTask")
.params("type", type) .params("type", type)
.execute(callback); .execute(callback);
} }
@ -611,7 +612,7 @@ public class LiveHttpUtil {
* 完成新手任務 * 完成新手任務
*/ */
public static void setFrontTask(String type, String liveuid, HttpCallback callback) { public static void setFrontTask(String type, String liveuid, HttpCallback callback) {
HttpClient.getInstance().get("User.setFrontTask", "User.setFrontTask") HttpClient.getInstance().get("ylashezhixinshouyindaozhuangtai", "User.setFrontTask")
.params("type", type) .params("type", type)
.params("liveuid", liveuid) .params("liveuid", liveuid)
.execute(callback); .execute(callback);
@ -621,7 +622,7 @@ public class LiveHttpUtil {
* 修改心愿单列表 * 修改心愿单列表
*/ */
public static void modifyWishList(String list, HttpCallback callback) { public static void modifyWishList(String list, HttpCallback callback) {
HttpClient.getInstance().get("Guide.setWishlist", LiveHttpConsts.SET_WISH_LIST) HttpClient.getInstance().get("ylapcduanshezhixinyuandan", LiveHttpConsts.SET_WISH_LIST)
.params("list", list) .params("list", list)
.execute(callback); .execute(callback);
} }
@ -643,7 +644,7 @@ public class LiveHttpUtil {
* @param isContactGift 是否为联系方式礼物 * @param isContactGift 是否为联系方式礼物
*/ */
public static void sendGift(String by, String liveUid, String stream, int giftId, String giftCount, int isContactGift, boolean isFansGroupGift, HttpCallback callback) { 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("ylazhibojianzengsongliwu", LiveHttpConsts.SEND_GIFT)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
.params("giftid", giftId) .params("giftid", giftId)
@ -661,7 +662,7 @@ public class LiveHttpUtil {
* @param isContactGift 是否为联系方式礼物 * @param isContactGift 是否为联系方式礼物
*/ */
public static void sendGiftForPage(String by, String liveUid, String stream, int giftId, String giftCount, int isContactGift, boolean isFansGroupGift, HttpCallback callback) { 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("ylazhibojianzengsongbaoguoliwu", LiveHttpConsts.SEND_GIFT)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
.params("giftid", giftId) .params("giftid", giftId)
@ -679,7 +680,7 @@ public class LiveHttpUtil {
* @param isContactGift 是否为联系方式礼物 * @param isContactGift 是否为联系方式礼物
*/ */
public static void sendGiftForFansGroup(String by, String liveUid, String stream, int giftId, String giftCount, int isContactGift, boolean isFansGroupGift, HttpCallback callback) { 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("ylazengsongfensituanbaoguoliwu", LiveHttpConsts.SEND_GIFT)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
.params("giftid", giftId) .params("giftid", giftId)
@ -692,7 +693,7 @@ public class LiveHttpUtil {
} }
public static void sendBlindBoxTicket(String by, String liveUid, String stream, int giftId, HttpCallback 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("ylamangheshiyongquan", LiveHttpConsts.SEND_GIFT)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
.params("giftid", giftId) .params("giftid", giftId)
@ -721,7 +722,7 @@ public class LiveHttpUtil {
* 点亮發IM * 点亮發IM
*/ */
public static void sendZAN(String liveUid, HttpCallback callback) { public static void sendZAN(String liveUid, HttpCallback callback) {
HttpClient.getInstance().get("Fans.doubleClickLight", "Fans.DoubleClickLight") HttpClient.getInstance().get("ylashuangjidianliang", "Fans.DoubleClickLight")
.params("liveuid", liveUid) .params("liveuid", liveUid)
.execute(callback); .execute(callback);
} }
@ -730,7 +731,7 @@ public class LiveHttpUtil {
* 连麦pk搜索主播 * 连麦pk搜索主播
*/ */
public static void livePkSearchAnchor(String key, int p, HttpCallback callback) { public static void livePkSearchAnchor(String key, int p, HttpCallback callback) {
HttpClient.getInstance().get("Livepk.search", LiveHttpConsts.LIVE_PK_SEARCH_ANCHOR) HttpClient.getInstance().get("ylasousuozhiboyonghu", LiveHttpConsts.LIVE_PK_SEARCH_ANCHOR)
.params("key", key) .params("key", key)
.params("p", p) .params("p", p)
.execute(callback); .execute(callback);
@ -741,7 +742,7 @@ public class LiveHttpUtil {
* 获取主播连麦pk列表 * 获取主播连麦pk列表
*/ */
public static void getLivePkList(int p, HttpCallback callback) { public static void getLivePkList(int p, HttpCallback callback) {
HttpClient.getInstance().get("Livepk.getLiveList", LiveHttpConsts.GET_LIVE_PK_LIST) HttpClient.getInstance().get("ylahuoquzhiboyonghuliebiao", LiveHttpConsts.GET_LIVE_PK_LIST)
.params("p", p) .params("p", p)
.execute(callback); .execute(callback);
} }
@ -778,7 +779,7 @@ public class LiveHttpUtil {
*/ */
public static void newcreateRoom(String title, int liveClassId, int type, int typeVal, File file, int clarityType,boolean isSw, HttpCallback callback) { public static void newcreateRoom(String title, int liveClassId, int type, int typeVal, File file, int clarityType,boolean isSw, HttpCallback callback) {
PostRequest<JsonBean> request = HttpClient.getInstance().post("Live.createRoom2", LiveHttpConsts.CREATE_ROOM) PostRequest<JsonBean> request = HttpClient.getInstance().post("ylachuangjianzhibov2", LiveHttpConsts.CREATE_ROOM)
.params("title", title) .params("title", title)
.params("liveclassid", liveClassId) .params("liveclassid", liveClassId)
.params("type", type) .params("type", type)
@ -797,7 +798,7 @@ public class LiveHttpUtil {
* 修改直播状态 * 修改直播状态
*/ */
public static void changeLive(String stream) { public static void changeLive(String stream) {
HttpClient.getInstance().get("Live.changeLive", LiveHttpConsts.CHANGE_LIVE) HttpClient.getInstance().get("ylaxiugaizhiboleixing", LiveHttpConsts.CHANGE_LIVE)
.params("stream", stream) .params("stream", stream)
.params("status", "1") .params("status", "1")
.execute(new HttpCallback() { .execute(new HttpCallback() {
@ -812,7 +813,7 @@ public class LiveHttpUtil {
* 主播结束直播 * 主播结束直播
*/ */
public static void stopLive(String stream, HttpCallback callback) { public static void stopLive(String stream, HttpCallback callback) {
HttpClient.getInstance().get("Live.stopRoom", LiveHttpConsts.STOP_LIVE) HttpClient.getInstance().get("ylaguanbizhibo", LiveHttpConsts.STOP_LIVE)
.params("stream", stream) .params("stream", stream)
.execute(callback); .execute(callback);
} }
@ -821,12 +822,12 @@ public class LiveHttpUtil {
* 主播开播前获取sdk类型 0金山 1腾讯 * 主播开播前获取sdk类型 0金山 1腾讯
*/ */
public static void getLiveSdk(HttpCallback callback) { public static void getLiveSdk(HttpCallback callback) {
HttpClient.getInstance().get("Live.getSDK", LiveHttpConsts.GET_LIVE_SDK) HttpClient.getInstance().get("ylahuoqusdk", LiveHttpConsts.GET_LIVE_SDK)
.execute(callback); .execute(callback);
} }
public static void getisRong(HttpCallback callback) { public static void getisRong(HttpCallback callback) {
HttpClient.getInstance().get("Live.isRong", "Live.isRong") HttpClient.getInstance().get("ylashifouweirongyunzhubo", "Live.isRong")
.execute(callback); .execute(callback);
} }
@ -835,7 +836,7 @@ public class LiveHttpUtil {
* @param callback * @param callback
*/ */
public static void getIsSw(HttpCallback callback) { public static void getIsSw(HttpCallback callback) {
HttpClient.getInstance().get("Tx.setRtcFirm", "Tx.setRtcFirm") HttpClient.getInstance().get("ylashezhiyuanshengduanshengwangpeizhi", "Tx.setRtcFirm")
.execute(callback); .execute(callback);
} }
@ -843,7 +844,7 @@ public class LiveHttpUtil {
* 腾讯sdk 跟主播连麦时获取主播的低延时流 * 腾讯sdk 跟主播连麦时获取主播的低延时流
*/ */
public static void getTxLinkMicAccUrl(String originStreamUrl, HttpCallback callback) { public static void getTxLinkMicAccUrl(String originStreamUrl, HttpCallback callback) {
HttpClient.getInstance().get("Linkmic.requestPlayUrlWithSignForLinkMic", LiveHttpConsts.GET_TX_LINK_MIC_ACC_URL) HttpClient.getInstance().get("ylajianquanliudizhi", LiveHttpConsts.GET_TX_LINK_MIC_ACC_URL)
.params("originStreamUrl", originStreamUrl) .params("originStreamUrl", originStreamUrl)
.execute(callback); .execute(callback);
} }
@ -853,7 +854,7 @@ public class LiveHttpUtil {
* 连麦时候 主播混流 * 连麦时候 主播混流
*/ */
public static void linkMicTxMixStream(String mergeparams) { public static void linkMicTxMixStream(String mergeparams) {
HttpClient.getInstance().get("Linkmic.mergeVideoStream", LiveHttpConsts.LINK_MIC_TX_MIX_STREAM) HttpClient.getInstance().get("ylalianmaihunliu", LiveHttpConsts.LINK_MIC_TX_MIX_STREAM)
.params("mergeparams", mergeparams) .params("mergeparams", mergeparams)
.execute(CommonHttpUtil.NO_CALLBACK); .execute(CommonHttpUtil.NO_CALLBACK);
} }
@ -863,7 +864,7 @@ public class LiveHttpUtil {
* 我是哪些直播间的管理员返回这些直播间列表 * 我是哪些直播间的管理员返回这些直播间列表
*/ */
public static void getMyAdminRoomList(int p, HttpCallback callback) { public static void getMyAdminRoomList(int p, HttpCallback callback) {
HttpClient.getInstance().get("Livemanage.getRoomList", LiveHttpConsts.GET_MY_ADMIN_ROOM_LIST) HttpClient.getInstance().get("ylahuoquwodefangjian", LiveHttpConsts.GET_MY_ADMIN_ROOM_LIST)
.params("p", p) .params("p", p)
.execute(callback); .execute(callback);
} }
@ -873,7 +874,7 @@ public class LiveHttpUtil {
* 获取直播间奖池等级 * 获取直播间奖池等级
*/ */
public static void getLiveGiftPrizePool(String liveUid, String stream, HttpCallback callback) { public static void getLiveGiftPrizePool(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Jackpot.getJackpot", LiveHttpConsts.GET_LIVE_GIFT_PRIZE_POOL) HttpClient.getInstance().get("ylahuoquyindaoyexinxi", LiveHttpConsts.GET_LIVE_GIFT_PRIZE_POOL)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
.execute(callback); .execute(callback);
@ -883,7 +884,7 @@ public class LiveHttpUtil {
* 主播checkLive * 主播checkLive
*/ */
public static void anchorCheckLive(String liveUid, String stream, HttpCallback callback) { public static void anchorCheckLive(String liveUid, String stream, HttpCallback callback) {
HttpClient.getInstance().get("Live.checkLiveing", LiveHttpConsts.ANCHOR_CHECK_LIVE) HttpClient.getInstance().get("ylajiancefangjiangzhuangtai", LiveHttpConsts.ANCHOR_CHECK_LIVE)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.params("stream", stream) .params("stream", stream)
.execute(callback); .execute(callback);
@ -894,7 +895,7 @@ public class LiveHttpUtil {
* 获取直播间信息 * 获取直播间信息
*/ */
public static void getLiveInfo(String liveUid, HttpCallback callback) { public static void getLiveInfo(String liveUid, HttpCallback callback) {
HttpClient.getInstance().get("Live.getLiveInfo", LiveHttpConsts.GET_LIVE_INFO) HttpClient.getInstance().get("ylahuoquzhiboxinxi", LiveHttpConsts.GET_LIVE_INFO)
.params("liveuid", liveUid) .params("liveuid", liveUid)
.execute(callback); .execute(callback);
} }
@ -905,7 +906,7 @@ public class LiveHttpUtil {
*/ */
public static void getHcGiftList(HttpCallback callback) { public static void getHcGiftList(HttpCallback callback) {
HttpClient.getInstance().get("Live.getSvgaList", LiveHttpConsts.GET_GIFT_LIST) HttpClient.getInstance().get("ylahuoquliwudonghualiebiao", LiveHttpConsts.GET_GIFT_LIST)
.execute(callback); .execute(callback);
} }
@ -915,7 +916,7 @@ public class LiveHttpUtil {
*/ */
public static void getHczGiftList(HttpCallback callback) { public static void getHczGiftList(HttpCallback callback) {
HttpClient.getInstance().get("Home.aoto_load", "Home.aoto_load") HttpClient.getInstance().get("ylayuxiazai", "Home.aoto_load")
.execute(callback); .execute(callback);
} }
@ -924,12 +925,12 @@ public class LiveHttpUtil {
* 获取活动 * 获取活动
*/ */
public static void geteEvent(String anchor_id, HttpCallback callback) { public static void geteEvent(String anchor_id, HttpCallback callback) {
HttpClient.getInstance().get("Rank.isActivity", LiveHttpConsts.GET_EVENT) HttpClient.getInstance().get("ylahuodongpeizhixinxi", LiveHttpConsts.GET_EVENT)
.params("anchorUid", anchor_id) .params("anchorUid", anchor_id)
.execute(callback); .execute(callback);
} }
public static void getAnchorActiveImgStatus(String anchor_id, HttpCallback callback) { public static void getAnchorActiveImgStatus(String anchor_id, HttpCallback callback) {
HttpClient.getInstance().get("Live.getAnchorActiveImgStatus", LiveHttpConsts.GET_EVENT) HttpClient.getInstance().get("ylahuoquzhuboxunfuchuangzhuangtai", LiveHttpConsts.GET_EVENT)
.params("anchorUid", anchor_id) .params("anchorUid", anchor_id)
.execute(callback); .execute(callback);
} }
@ -946,7 +947,7 @@ public class LiveHttpUtil {
* 整蛊转盘拯救主播 * 整蛊转盘拯救主播
*/ */
public static void userHopePrankTurntable(String anchor_id, String prankid, HttpCallback callback) { public static void userHopePrankTurntable(String anchor_id, String prankid, HttpCallback callback) {
HttpClient.getInstance().get("Prank.userHopePrankTurntable", LiveHttpConsts.USERHOPEPRANKTURNTABLE) HttpClient.getInstance().get("ylayonghuzhengjiuzhubo", LiveHttpConsts.USERHOPEPRANKTURNTABLE)
.params("prankid", prankid) .params("prankid", prankid)
.params("anchor_id", anchor_id) .params("anchor_id", anchor_id)
.execute(callback); .execute(callback);
@ -956,7 +957,7 @@ public class LiveHttpUtil {
* 倒计时结束 * 倒计时结束
*/ */
public static void endPrankTurntable(String anchor_id, HttpCallback callback) { public static void endPrankTurntable(String anchor_id, HttpCallback callback) {
HttpClient.getInstance().get("Prank.endPrankTurntable", LiveHttpConsts.ENDPRANKTURNTABLE) HttpClient.getInstance().get("ylazhenggudaojishijieshu", LiveHttpConsts.ENDPRANKTURNTABLE)
.params("anchor_id", anchor_id) .params("anchor_id", anchor_id)
.execute(callback); .execute(callback);
} }
@ -965,7 +966,7 @@ public class LiveHttpUtil {
* 周星榜数据 * 周星榜数据
*/ */
public static void getAnchorLastWeekList(HttpCallback callback) { public static void getAnchorLastWeekList(HttpCallback callback) {
HttpClient.getInstance().get("WeekStar.getAnchorLastWeekList", LiveHttpConsts.GETANCHORLASTWEEKLIST) HttpClient.getInstance().get("ylahuoqushangzhouzhouxingbangzhubo", LiveHttpConsts.GETANCHORLASTWEEKLIST)
.execute(callback); .execute(callback);
} }
@ -973,7 +974,7 @@ public class LiveHttpUtil {
* 热度加成列表 * 热度加成列表
*/ */
public static void useHotCardUserList(String anchor_id, HttpCallback callback) { public static void useHotCardUserList(String anchor_id, HttpCallback callback) {
HttpClient.getInstance().get("Live.useHotCardUserList", LiveHttpConsts.USEHOTCARDUSERLIST) HttpClient.getInstance().get("ylaredukayonghuliebiao", LiveHttpConsts.USEHOTCARDUSERLIST)
.params("anchor_id", anchor_id) .params("anchor_id", anchor_id)
.execute(callback); .execute(callback);
} }
@ -982,7 +983,7 @@ public class LiveHttpUtil {
* 是否有热度加成 * 是否有热度加成
*/ */
public static void isHotCard(String anchor_id, HttpCallback callback) { public static void isHotCard(String anchor_id, HttpCallback callback) {
HttpClient.getInstance().get("Live.isHotCard", LiveHttpConsts.ISHOTCARD) HttpClient.getInstance().get("ylazhibozhongshifoushiyongreduka", LiveHttpConsts.ISHOTCARD)
.params("anchor_id", anchor_id) .params("anchor_id", anchor_id)
.execute(callback); .execute(callback);
} }
@ -991,7 +992,7 @@ public class LiveHttpUtil {
* 修改im备注信息 * 修改im备注信息
*/ */
public static void setInstructorRemark(String touid, String remark, HttpCallback callback) { public static void setInstructorRemark(String touid, String remark, HttpCallback callback) {
HttpClient.getInstance().get("User.setInstructorRemark", LiveHttpConsts.SETINSTRUCTORREMARK) HttpClient.getInstance().get("ylashezhiyonghubeizhuming", LiveHttpConsts.SETINSTRUCTORREMARK)
.params("touid", touid) .params("touid", touid)
.params("remark", remark) .params("remark", remark)
.execute(callback); .execute(callback);
@ -1001,7 +1002,7 @@ public class LiveHttpUtil {
* 获取用户贵族喇叭的数量 * 获取用户贵族喇叭的数量
*/ */
public static void getNobleTrumpetNum(HttpCallback callback) { public static void getNobleTrumpetNum(HttpCallback callback) {
HttpClient.getInstance().get("Noble.getNobleTrumpetNum", "getNobleTrumpetNum") HttpClient.getInstance().get("ylahuoquguizulabashuliang", "getNobleTrumpetNum")
.execute(callback); .execute(callback);
} }
@ -1009,7 +1010,7 @@ public class LiveHttpUtil {
* 获取用户贵族喇叭的数量 * 获取用户贵族喇叭的数量
*/ */
public static void nobleUseTrumpet(String trumpet_msg, String anchor_id, HttpCallback callback) { public static void nobleUseTrumpet(String trumpet_msg, String anchor_id, HttpCallback callback) {
HttpClient.getInstance().get("Noble.nobleUseTrumpet", "nobleUseTrumpet") HttpClient.getInstance().get("ylaguizushiyonglaba", "nobleUseTrumpet")
.params("", trumpet_msg) .params("", trumpet_msg)
.params("", anchor_id) .params("", anchor_id)
.execute(callback); .execute(callback);
@ -1019,7 +1020,7 @@ public class LiveHttpUtil {
* 获取用户贵族喇叭的数量 * 获取用户贵族喇叭的数量
*/ */
public static void getStarChallengeStatus(String liveUid, HttpCallback callback) { public static void getStarChallengeStatus(String liveUid, HttpCallback callback) {
HttpClient.getInstance().get("StarChallenge.getStarChallengeStatus", "StarChallengeStatus") HttpClient.getInstance().get("ylahuoquxingjitiaozhanzhuangtai", "StarChallengeStatus")
.params("liveUid", liveUid) .params("liveUid", liveUid)
.execute(callback); .execute(callback);
} }
@ -1028,14 +1029,14 @@ public class LiveHttpUtil {
* 首页关注直播 * 首页关注直播
*/ */
public static void getHomeFollow(int p, HttpCallback callback) { public static void getHomeFollow(int p, HttpCallback callback) {
HttpClient.getInstance().get("Home.getFollow", "Home.getFollow") HttpClient.getInstance().get("ylahuoquguanzhuzhuboliebiao", "Home.getFollow")
.params("p", p) .params("p", p)
.execute(callback); .execute(callback);
} }
public static void getRoomList(String sudGameId, String threshold, String roomHolderType, String liveUid, String currencyType, int page, HttpCallback 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("ylahuoquyouxiliebiao", "Sudgameserver.getRoomList")
.params("sud_game_id", sudGameId) .params("sud_game_id", sudGameId)
.params("threshold", threshold) .params("threshold", threshold)
.params("room_holder_type", roomHolderType) .params("room_holder_type", roomHolderType)
@ -1055,7 +1056,7 @@ public class LiveHttpUtil {
* @param callback * @param callback
*/ */
public static void gameRecord(String sudGameId, String currencyType, String dateType, int page, HttpCallback 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("ylachaxunyouxijilu", "Sudgameserver.gameRecord")
.params("sud_game_id", sudGameId) .params("sud_game_id", sudGameId)
.params("currency_type", currencyType) .params("currency_type", currencyType)
.params("date_type", dateType) .params("date_type", dateType)
@ -1067,7 +1068,7 @@ public class LiveHttpUtil {
* 获取短剧Url * 获取短剧Url
*/ */
public static void getCoolydrama(HttpCallback callback) { public static void getCoolydrama(HttpCallback callback) {
HttpClient.getInstance().get("cool.register", "Home.getFollow") HttpClient.getInstance().get("yladuanjuzhanghaozhuce", "Home.getFollow")
.params("lang", WordUtil.isNewZh() ? "zh_CN" : "en") .params("lang", WordUtil.isNewZh() ? "zh_CN" : "en")
.execute(callback); .execute(callback);
} }