refactor(servicing): 更新ServicingModule

This commit is contained in:
songzhiling
2025-06-17 11:49:32 +08:00
parent 405f732502
commit ea83fc62a9
75 changed files with 3696 additions and 2558 deletions

View File

@ -73,12 +73,12 @@ abstract class BaseObserver<T> : Observer<BaseResponse<T>> {
}
is ConnectException -> {
doFailure(Const.NetWorkException, "与服务器断开连接")
doFailure(Const.NetWorkException, "网络异常")
handlerNetError()
}
is UnknownHostException -> {
doFailure(Const.NetWorkException, "与服务器断开连接")
doFailure(Const.NetWorkException, "网络异常")
handlerNetError()
}
@ -89,12 +89,12 @@ abstract class BaseObserver<T> : Observer<BaseResponse<T>> {
}
is TimeoutException -> {
doFailure(Const.NetWorkException, "网络连接超时1")
doFailure(Const.NetWorkException, "网络异常")
LogUtil.print("TimeoutException", e)
}
is SocketTimeoutException -> {
doFailure(Const.NetWorkException, "网络连接超时2")
doFailure(Const.NetWorkException, "网络异常")
LogUtil.print("SocketTimeoutException2", e)
handlerNetError()
}