| | |
| | | if (bean.startTime <= 0L) { |
| | | if (NetUtils.isNetworkConnected(MyApplication.getInstance())){ |
| | | CacheKey.saveLocalOrderBeanNull() |
| | | MyApplication.currentOrderId = "" |
| | | toast("调用正常结束,在异常订单中") |
| | | callEndOrder(contexts,bean.money) |
| | | } |
| | | }else{ |
| | | if (NetUtils.isNetworkConnected(MyApplication.getInstance())){ |
| | | CacheKey.saveLocalOrderBeanNull() |
| | | MyApplication.currentOrderId = "" |
| | | val map = getMapByAny() |
| | | map["orderId"] = bean.orderId |
| | | map["orderType"] = bean.orderType |
| | | map["type"] = "1" |
| | | map["travelFee"] = bean.money |
| | | CacheKey.saveLocalOrderBeanNull() |
| | | toast("调用异常结束,在异常订单中 id==="+bean.orderId) |
| | | callNet(contexts, "api/order/confirmFees$", map,{ |
| | | toast("上传异常订单成功") |
| | | EventBus.getDefault().post(BaseEvent(BaseEvent.ERROR_INFO)) |