修改进入房间提示

This commit is contained in:
2025-12-23 01:39:32 +08:00
parent e3d4240a82
commit eee16d3a4a
2 changed files with 5 additions and 2 deletions

View File

@@ -2319,6 +2319,7 @@ public class RetrofitClient {
CommonAppContext.getInstance().isRoomJoininj = false;
observer.onError(t);
if (joinRoomLoadListener != null) {
ToastUtils.showLong("网络异常");
joinRoomLoadListener.onJoinRoomLoad("网络异常");
}
}
@@ -2339,6 +2340,7 @@ public class RetrofitClient {
}
}else {
if (joinRoomLoadListener != null) {
ToastUtils.showLong("网络异常");
joinRoomLoadListener.onJoinRoomLoad("网络异常");
}
}
@@ -2347,6 +2349,7 @@ public class RetrofitClient {
@Override
public void onFailure(Call<BaseModel<BeforeJoinRoomCheckBean>> call, Throwable t) {
if (joinRoomLoadListener != null) {
ToastUtils.showLong("网络异常");
joinRoomLoadListener.onJoinRoomLoad("网络异常");
}
}