1:修改送礼物不选择礼物的时候,直接提示错误信息

2:修改小黑屋不能发布横屏数据
This commit is contained in:
2025-10-13 21:53:59 +08:00
parent adb72522e2
commit 88930b3b74
13 changed files with 82 additions and 43 deletions

View File

@@ -1817,7 +1817,18 @@ public class RetrofitClient {
BaseModel<RoomInfoResp> roomInfoRespBaseModel = response.body();
if (roomInfoRespBaseModel.getCode() == 1) {
observer.onNext(roomInfoRespBaseModel.getData());
} else {
}else if (roomInfoRespBaseModel.getCode() == 301){
ToastUtils.showShort(roomInfoRespBaseModel.getMsg());
try {
CommonAppContext.getInstance().clearLoginInfo();
} catch (ClassNotFoundException e) {
throw new RuntimeException(e);
}
}else if (roomInfoRespBaseModel.getCode() == 0){
ToastUtils.showShort(roomInfoRespBaseModel.getMsg());
observer.onNext(null);
}
else {
MessageListenerSingleton.getInstance().quitGroup(roomId);
}
}