[error 回调]
This commit is contained in:
yangyakun
2024-04-30 12:30:05 +08:00
parent 0de3dc731d
commit d5dc301d77
2 changed files with 1 additions and 1 deletions

View File

@@ -344,7 +344,6 @@ public class OrderModel {
@Override
public void onChassisLocationGCJ02(@Nullable MogoLocation gnssInfo) {
if (null == gnssInfo) return;
Logger.d(TAG, "onChassisLocationGCJ02");
if (mControllerStatusCallback != null) {
mControllerStatusCallback.onCarLocationChanged(gnssInfo);
}

View File

@@ -41,6 +41,7 @@ class OchCommonSubscribeImpl<T : BaseData>(
OchChainLogManager.writeChainLogNet("接口:${apiName}", "请求失败:${e.message}")
}
callback?.onError("$apiName: onError() ${e.message}")
callback?.onError()
}
override fun onError(message: String, code: Int) {