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 96739f97c..5123178c6 100644 --- a/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java +++ b/common/src/main/java/com/yunbao/common/http/CommonHttpUtil.java @@ -314,8 +314,15 @@ public class CommonHttpUtil { .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { - if (code == 0 && info.length > 0) { + if (code == 0 && info.length > 0 || code == 1001) { int isAttention = JSON.parseObject(info[0]).getIntValue("isattent");//1是 关注 0是未关注 + 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);