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 5123178c6..7431a5d51 100644 --- a/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java +++ b/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java @@ -316,13 +316,13 @@ public class CommonHttpUtil { public void onSuccess(int code, String msg, String[] info) { if (code == 0 && info.length > 0 || code == 1001) { int isAttention = JSON.parseObject(info[0]).getIntValue("isattent");//1是 关注 0是未关注 - if (code == 1001) { + /* if (code == 1001) { if (WordUtil.isNewZh()) { ToastUtil.show("粉絲團等級已清零,待領取獎勵已自動領取至【個性裝扮】"); } else { ToastUtil.show("The level of the fan club has been cleared, and the rewards to be claimed have been automatically received to [Personalized Dressing]"); } - } + }*/ EventBus.getDefault().post(new FollowEvent(touid, isAttention)); if (callback != null) { callback.callback(isAttention); diff --git a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java index 11ea3c8f5..76f942bab 100644 --- a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java +++ b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java @@ -179,13 +179,13 @@ public class LiveNetManager { List setAttentsModels = listResponseModel.getData().getInfo(); if (setAttentsModels.size() > 0) { if (callback != null) { - if (listResponseModel.getData().getCode() == 1001) { + /* if (listResponseModel.getData().getCode() == 1001) { if (WordUtil.isNewZh()) { ToastUtil.show("粉絲團等級已清零,待領取獎勵已自動領取至【個性裝扮】"); } else { ToastUtil.show("The level of the fan club has been cleared, and the rewards to be claimed have been automatically received to [Personalized Dressing]"); } - } + }*/ callback.onSuccess(setAttentsModels.get(0)); } } else { 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 8f0b709af..b2645abbf 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -2665,7 +2665,6 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis mViewMedal.setVisibility(View.GONE); } else { if (mBtnFollow.getVisibility() == View.VISIBLE) { - LiveAudienceActivity.is_fans = "2"; mBtnFollow.setVisibility(View.GONE); mViewMedal.setVisibility(View.VISIBLE); }