1:修改清除魅力报错

2:修改进入房间请求接口出现错误,login没有消失
This commit is contained in:
2025-12-23 00:44:52 +08:00
parent 4a83bbda2d
commit b7320cb51a
3 changed files with 9 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ public class CommonAppContext extends MultiDexApplication implements Application
@Getter
public UnreadCountEvent unreadCountEvent;
public static int selectRelease = -1;
public static int selectRelease = 1;
@Override
public void onCreate() {

View File

@@ -2337,12 +2337,18 @@ public class RetrofitClient {
}else {
observer.onNext(new BeforeJoinRoomCheckBean());
}
}else {
if (joinRoomLoadListener != null) {
joinRoomLoadListener.onJoinRoomLoad("网络异常");
}
}
}
@Override
public void onFailure(Call<BaseModel<BeforeJoinRoomCheckBean>> call, Throwable t) {
if (joinRoomLoadListener != null) {
joinRoomLoadListener.onJoinRoomLoad("网络异常");
}
}
});
}

View File

@@ -1045,7 +1045,7 @@ public class SingSongFragment extends BaseRoomFragment<SingSongPresenter, Fragme
if (roomInfoRespPk == null || roomInfoRespPk.getPk_info() == null) {
if (pitBean != null) {
if (pitBean.getUser_id() != null) {
if (pitBean.getUser_id() != null && !pitBean.getUser_id().isEmpty() && !pitBean.getUser_id().equals("0")) {
wheatLayoutSingManager.updateSingleWheat(pitBean, Integer.parseInt(pitBean.getPit_number()));
return;
}