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 616a2d0f7..cc37ea45f 100644 --- a/common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java +++ b/common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java @@ -906,7 +906,11 @@ public class LiveHttpUtil { .params("anchorUid", anchor_id) .execute(callback); } - + public static void getAnchorActiveImgStatus(String anchor_id, HttpCallback callback) { + HttpClient.getInstance().get("Live.getAnchorActiveImgStatus", LiveHttpConsts.GET_EVENT) + .params("anchorUid", anchor_id) + .execute(callback); + } /** * 重置活动 */ diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java index 8a3bc077c..6d952b43d 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -2179,7 +2179,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis public void setLiveUid(String liveUid) { mLiveUid = liveUid; - LiveHttpUtil.geteEvent(mLiveUid, new HttpCallback() { + LiveHttpUtil.getAnchorActiveImgStatus(mLiveUid, new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0 && imgEvent != null) { diff --git a/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java index ccc49cf7d..a86442a10 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java @@ -438,7 +438,7 @@ public class LiveRyAnchorViewHolder extends AbsLiveViewHolder { } public void setLiveUid(String liveUid) { - LiveHttpUtil.geteEvent(liveUid, new HttpCallback() { + LiveHttpUtil.getAnchorActiveImgStatus(liveUid, new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0) {